Overview
The node "GitHub Issues" allows users to create and manage issues on GitHub repositories via the GitHub API. Specifically, the Create Issue operation lets you open a new issue in a specified repository by providing details such as the issue title, body content, and labels.
This node is beneficial for automating issue tracking workflows, integrating bug reporting or feature requests directly from other tools or forms, and managing project tasks programmatically. For example, you could use it to automatically create GitHub issues from customer support tickets or error logs.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authenticating with GitHub API: either using an Access Token or OAuth2 authentication. |
| Repository Owner | The owner of the GitHub repository where the issue will be created. Can be selected from a list, provided as a URL, or entered by name. |
| Repository Name | The name of the GitHub repository where the issue will be created. Can be selected from a list, provided as a URL, or entered by name. |
| Title | The title of the issue to be created. This is a required field. |
| Body | The detailed description or content of the issue. Optional multiline text. |
| Labels | One or more labels to assign to the issue. You can add multiple labels by specifying their names. |
Output
The node outputs JSON data representing the newly created GitHub issue. This typically includes fields such as the issue ID, URL, title, body, labels, state, creation date, and other metadata returned by the GitHub API.
There is no binary output associated with this node.
Dependencies
- Requires a valid GitHub API authentication credential, either an access token or OAuth2.
- Needs network access to the GitHub API endpoint (
https://api.github.com). - No additional external dependencies beyond standard HTTP requests to GitHub.
Troubleshooting
- Authentication errors: If the node fails due to authentication, verify that the provided token or OAuth2 credentials have sufficient permissions (typically
reposcope) to create issues. - Invalid repository or owner: Errors may occur if the repository owner or name is incorrect or inaccessible. Double-check spelling and access rights.
- Validation errors: The node validates URLs and names for owner and repository; ensure inputs conform to expected patterns.
- API rate limits: GitHub enforces rate limits on API usage. If you encounter rate limit errors, consider using authenticated requests or reducing request frequency.