Skip to main content

github.updateissueprops

Home > @runlightyear/github > UpdateIssueProps

UpdateIssueProps interface

Signature:
interface UpdateIssueProps 

Required Properties

PropertyModifiersTypeDescription
issueNumbernumberThe number that identifies the issue.
ownerstringThe account owner of the repository. The name is not case sensitive.
repostringThe name of the repository. The name is not case sensitive.

Optional Properties

PropertyModifiersTypeDescription
assignees?Array<string>

Logins for Users to assign to this issue. Pass one or more user logins to replace the set of assignees on this Issue. Send an empty array ([]) to clear all assignees from the Issue.

NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise.

body?string | nullThe contents of the issue.
labels?Array<string> | Array<object>

Labels to associate with this issue. Pass one or more Labels to replace the set of Labels on this Issue. Send an empty array ([]) to clear all Labels from the Issue.

NOTE: Only users with push access can set labels for issues. Labels are silently dropped otherwise.

milestone?string | number | null

The number of the milestone to associate this issue with or null to remove current.

NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise.

state?"open" | "closed"State of the issue.
stateReason?"completed" | "not_planned" | "reopened" | nullThe reason for the current state
title?string | number | nullThe title of the issue.