Owner
RequiredTextUser or organisation.
This input offers a picker for repository from your connected account. You can also supply its value directly.
octocat
Open a new issue.
First, connect GitHub in Services. Then open Actions → + → GitHub and choose Create an Issue.
Running or testing this action creates something in your connected service.
Title is all GitHub insists on, which is what makes this the best action in the catalog to drive from dictation or a share sheet. Body is Markdown.
Labels and assignees must already exist: a label that does not exist in the repository is created silently, but an assignee who is not a collaborator is dropped without an error, so an issue can come back assigned to nobody.
If issues are turned off for the repository the answer is 410, not 404. Creating many issues in quick succession trips a secondary rate limit that no amount of retrying fixes — space them out.
Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.
User or organisation.
This input offers a picker for repository from your connected account. You can also supply its value directly.
octocat
Name only, without the owner and without .git.
This input offers a picker for repository from your connected account. You can also supply its value directly.
Hello-World
One line. Shown everywhere the issue is.
Crash when opening Logs
The issue text, as Markdown.
Steps to reproduce:
Label names. Comma-separated.
A list of text values. Use a comma-separated list.
This input offers a picker for label from your connected account. You can also supply its value directly.
bug
Usernames. They must have access to the repository.
A list of text values. Use a comma-separated list.
This input offers a picker for person from your connected account. You can also supply its value directly.
octocat
Milestone number, not its title.
This input offers a picker for milestone from your connected account. You can also supply its value directly.
In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.
| Returned field | Type | Meaning |
|---|---|---|
number | integer | The issue number shown in the UI. |
id | integer | Internal id. Not the number. |
title | string | Text value. |
state | string | open or closed. |
state_reason | string | completed, not_planned, reopened or duplicate. |
body | string | The issue text, as Markdown. |
html_url | string | The issue page. |
comments | integer | How many comments it has. |
locked | boolean | True or false. |
created_at | string | ISO 8601. |
updated_at | string | Text value. |
closed_at | string | Null while open. |
user | object | Who opened it. |
user.login | string | Username. |
user.id | integer | Whole-number value. |
user.html_url | string | Their profile page. |
user.avatar_url | string | Text value. |
user.type | string | User, Organization or Bot. |
assignees | array | Everyone assigned. |
assignees[].login | string | Username. |
assignees[].id | integer | Whole-number value. |
assignees[].html_url | string | Their profile page. |
assignees[].avatar_url | string | Text value. |
assignees[].type | string | User, Organization or Bot. |
milestone | object | Null when unset. |
milestone.number | integer | Whole-number value. |
milestone.title | string | Text value. |
milestone.due_on | string | Text value. |
labels | array | Each entry is either an object or a plain string. |
labels[].name | string | Text value. |
labels[].color | string | Six hex digits, no leading #. |
labels[].description | string | Text value. |
pull_request | object | Present only when the issue is a pull request. |
pull_request.html_url | string | Text value. |
pull_request.merged_at | string | Null unless it was merged. |
If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.
Request: POST https://api.github.com/repos/{owner}/{repo}/issues
Action identifier: github.issues.create.v1
Permissions declared for this action: issues:write. The account’s own access rules also apply.
| Input | Request key | Location |
|---|---|---|
| Owner | owner | path |
| Repository | repo | path |
| Title | title | body |
| Body | body | body |
| Labels | labels | body |
| Assignees | assignees | body |
| Milestone | milestone | body |