Create Issue
Description
This step creates a new issue in a GitHub repository. You provide the repository owner, repository name, issue title, and optionally a body, labels, and assignees. The step returns the issue number and URL. Use this step in workflows that automate bug reporting, create issues from monitoring alerts, or log tasks from external systems into GitHub.
Reference
- API documentation:
https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#create-an-issue
Configurations
| No. | Field Name | Description |
|---|---|---|
| 1 | Step Name | Name of the step. The name must be unique in a single workflow. The field is mandatory. |
| Connection | ||
| 2 | Access Token | Specify an access token for authentication. Note: - See Appendix: Generate an Access Token to generate an access token. - Select Accept value as variable/static to use the token as static value or from the environment variable. - Clear the checkbox to use the token from the previous step value. The data type is a secure string and the field is mandatory. |
| 3 | Test Connection | Click Test Connection to verify whether the connection is established or not. |
| Input tab: | ||
| 4 | Owner/Organization Name | Specify the owner or organization name to create an issue on GitHub. The field is mandatory. |
| 5 | Repository Name | Specify the name of the repository. Or Click Get, and the list of repository names is populated if the connection is successfully established. The field is mandatory. |
| 6 | Title | Specify the title for the issue. The field is mandatory. |
| 7 | Body | Specify the body content for the issue. |
| 8 | Assignees | Specify the username to assign the issue. Or Click Get, and the list of assignees will be populated if the connection is successfully established. Note: Multiple Assignees can be given using comma (,) separated values. |
| 9 | Milestone | Specify the number of milestones associated with this issue. Or Click Get, and the list of milestones will be populated if the connection is successfully established with GitHub. |
| 10 | Labels | Specify the labels associated with the issue. |
| Output tab: | ||
| 11 | Issue Number | Specify the name for the output field to hold the result of the successful plugin execution. Default label value: IssueNumber |