GitHub App icon

GitHub App

Consume GitHub API using GitHub App authentication

Repository → Get Issues

AI-generated

Overview

This node operation fetches issues from a specified GitHub repository. It allows users to retrieve issues with various filters such as assignee, creator, labels, state, and sorting options. It supports returning all issues or limiting the number of results. This is useful for project management, tracking bugs, or monitoring feature requests in software development projects hosted on GitHub.

Use Case Examples

  1. Retrieve all open issues assigned to a specific user in a repository.
  2. Fetch the latest 50 issues updated since a certain date, sorted by update time.
  3. Get issues with specific labels to monitor feature requests or bug reports.

Properties

Name Meaning
Repository Owner The owner of the GitHub repository from which to fetch issues. Can be selected from a list, provided as a URL, or entered by name.
Repository Name The name of the GitHub repository to fetch issues from. Can be selected from a list, provided as a URL, or entered by name.
Return All Whether to return all issues or limit the number of results.
Limit Maximum number of issues to return when 'Return All' is false. Range is 1 to 100.
Filters Collection of filters to narrow down the issues returned. Includes assignee, creator, mentioned user, labels, updated since date, state (open, closed, all), sort field (created, updated, comments), and sort direction (ascending, descending).

Output

JSON

  • id - Unique identifier of the issue.
  • number - Issue number in the repository.
  • title - Title of the issue.
  • body - Content/body text of the issue.
  • state - State of the issue (open, closed).
  • assignees - List of users assigned to the issue.
  • labels - Labels associated with the issue.
  • created_at - Timestamp when the issue was created.
  • updated_at - Timestamp when the issue was last updated.
  • comments - Number of comments on the issue.

Dependencies

  • GitHub API access with authentication token or GitHub App credentials

Troubleshooting

  • Ensure the repository owner and repository name are correctly specified and accessible with the provided credentials.
  • If filtering by user-related fields (assignee, creator, mentioned), verify the usernames are correct and exist in the repository context.
  • Check API rate limits and authentication token validity if requests fail.
  • Error messages related to invalid URLs or names indicate input validation issues; correct the input format as per the guidelines.

Links

Discussion