Skip to main content

github.createissueprops

Home > @runlightyear/github > CreateIssueProps

CreateIssueProps interface

Signature:
interface CreateIssueProps 

Required Properties

PropertyModifiersTypeDescription
ownerstringThe account owner of the repository. The name is not case sensitive.
repostringThe name of the repository. The name is not case sensitive.
titlestringThe title of the issue.

Optional Properties

PropertyModifiersTypeDescription
assignees?Array<string>

Logins for Users to assign to this issue.

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

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

Labels to associate with this issue.

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

milestone?string | number | null

The number of the milestone to associate this issue with.

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