Actions36
- File Actions
- Issue Actions
- Organization Actions
- Release Actions
- Repository Actions
- Review Actions
- User Actions
- Workflow Actions
Issue → Get
AI-generatedOverview
This node operation retrieves detailed information about a specific GitHub issue from a repository. It is useful for scenarios where you need to fetch the current state, comments, labels, assignees, and other metadata of an issue by specifying the repository owner, repository name, and the issue number. For example, it can be used in automation workflows to monitor issue status or to integrate issue data into other systems.
Use Case Examples
- Fetch details of issue number 123 from the 'n8n' repository owned by 'n8n-io' to display or process issue information in a project management tool.
- Retrieve issue data to trigger notifications or updates in a team communication channel when an issue is accessed or modified.
Properties
| Name | Meaning |
|---|---|
| Repository Owner | The owner of the GitHub repository where the issue exists. This can be selected from a list, provided as a URL, or entered by name. |
| Repository Name | The name of the GitHub repository containing the issue. This can be selected from a list, provided as a URL, or entered by name. |
| Issue Number | The number identifier of the issue to retrieve data for. This is required to specify which issue's data to fetch. |
Output
JSON
id- The unique identifier of the issue.number- The issue number within the repository.title- The title of the issue.body- The detailed description or content of the issue.state- The current state of the issue (e.g., open, closed).labels- Labels assigned to the issue.assignees- Users assigned to the issue.comments- Comments on the issue.created_at- Timestamp when the issue was created.updated_at- Timestamp when the issue was last updated.
Dependencies
- GitHub API access via GitHub App authentication
Troubleshooting
- Ensure the 'Repository Owner', 'Repository Name', and 'Issue Number' are correctly specified and valid. Invalid or missing values will cause errors.
- If the issue number does not exist in the specified repository, the node will throw an error indicating the issue could not be found.
- Authentication errors may occur if the GitHub App credentials are not properly configured or if the installation token is invalid or expired. Verify the GitHub App credentials and permissions.
Links
- GitHub API - Get an Issue - Official GitHub API documentation for retrieving a single issue's data.