Skip to main content
github.createIssue creates an issue in a repository accessible to the GitHub App installation.
automations/create-github-issue.automation.ts
Provide owner, repository, and title, which accepts a string or integer. Optional fields are body, assignees, labels, milestone, issueFieldValues, and type. milestone and type also accept null. milestone accepts a string or integer. labels accepts names or objects with optional id, name, description, and color. Each custom issue field value has an integer fieldId and a string, number, or string-array value. Optional second argument { account } selects the GitHub binding. Inputs accept compatible signals. Returns the created issue’s id, number, and title. The installation needs Issues write permission. Setting assignees, labels, a milestone, or an issue type requires push access; GitHub silently drops those fields without it. Custom issue fields are available only for organization-owned repositories with that feature enabled and are otherwise silently dropped.