GitHub App icon

GitHub App

Consume GitHub API using GitHub App authentication

Issue → Create

AI-generated

Overview

This node operation creates a new issue in a specified GitHub repository. It is useful for automating issue tracking and management workflows by programmatically opening issues with a title, body content, labels, and assignees. For example, it can be used to automatically log bugs or feature requests from other systems into GitHub repositories.

Use Case Examples

  1. Automatically create a GitHub issue when a new error is logged in an application.
  2. Open a feature request issue in a repository when a customer submits a form.
  3. Create issues for tasks generated by a project management tool.

Properties

Name Meaning
Repository Owner The owner of the GitHub repository where the issue will be created. This 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. This can be selected from a list, provided as a URL, or entered by name.
Title The title of the issue to be created.
Body The body content or description of the issue.
Labels Labels to add to the issue. Multiple labels can be added.
Assignees Users to assign the issue to. Multiple assignees can be added.

Output

JSON

  • id - The unique identifier of the created issue.
  • number - The issue number in the repository.
  • title - The title of the created issue.
  • body - The body content of the created issue.
  • labels - The labels assigned to the issue.
  • assignees - The users assigned to the issue.
  • state - The state of the issue (e.g., open, closed).
  • url - The URL link to the created issue on GitHub.

Dependencies

  • GitHub API
  • GitHub App authentication credentials including App ID, Installation ID, and Private Key

Troubleshooting

  • Ensure the repository owner and repository name are correctly specified and accessible by the GitHub App.
  • Verify that the GitHub App has the necessary permissions to create issues in the target repository.
  • Check that the title field is not empty as it is required to create an issue.
  • If authentication fails, verify the GitHub App credentials and private key format.
  • Handle API rate limits and network errors gracefully.

Links

Discussion