Overview
This node interacts with GitHub's API to retrieve multiple issue comments from a specified repository. It is useful for scenarios where users need to gather comments on issues for analysis, reporting, or integration with other workflows. For example, a user might want to fetch all comments on issues in a project repository to monitor feedback or track discussions.
Use Case Examples
- Fetch all comments from issues in the 'n8n-io/n8n' repository to analyze user feedback.
- Retrieve a limited number of issue comments from a specific repository for reporting purposes.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method used to authenticate with GitHub API, either via Access Token or OAuth2. |
| Repository Owner | The owner of the GitHub repository from which to fetch issue comments. Can be selected from a list, provided as a URL, or entered by name. |
| Repository Name | The name of the GitHub repository from which to fetch issue comments. Can be selected from a list, provided as a URL, or entered by name. |
| Limit | Maximum number of issue comments to return when not returning all results. |
| Return All | Whether to return all issue comments or limit the number of results. |
| Request Options | Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout. |
Output
JSON
id- Unique identifier of the issue comment.body- Content of the issue comment.userlogin- Username of the comment author.
created_at- Timestamp when the comment was created.updated_at- Timestamp when the comment was last updated.
Dependencies
- GitHub API
Troubleshooting
- Authentication errors due to invalid or expired tokens. Ensure the provided access token or OAuth2 credentials are valid and have the necessary permissions.
- Invalid repository owner or name inputs. Verify the owner and repository names or URLs are correct and accessible.
- API rate limits exceeded. Consider using authentication to increase rate limits or reduce request frequency.
- Network issues such as proxy misconfiguration or SSL certificate problems. Check proxy settings and SSL options in request settings.
Links
- GitHub API - Issue Comments - Official GitHub API documentation for managing issue comments.