Blocks for managing GitHub issues including creating, reading, listing, commenting, labeling, and assigning issues programmatically.
Github Add Label
A block that adds a label to a GitHub issue or pull request for categorization and organization.
The block takes the GitHub credentials, the URL of the issue or pull request, and the label to be added as inputs. It then sends a request to the GitHub API to add the label to the specified issue or pull request.
Input
Description
Type
Required
URL of the GitHub issue or pull request
Label to add to the issue or pull request
Error message if the label addition failed
Status of the label addition operation
Possible use case
Automatically categorizing issues based on their content or assigning priority labels to newly created issues.
Github Assign Issue
A block that assigns a GitHub user to an issue for task ownership and tracking.
The block takes the GitHub credentials, the URL of the issue, and the username of the person to be assigned as inputs. It then sends a request to the GitHub API to assign the specified user to the issue.
Input
Description
Type
Required
Username to assign to the issue
Error message if the issue assignment failed
Status of the issue assignment operation
Possible use case
Automatically assigning new issues to team members based on their expertise or workload.
A block that posts comments on GitHub issues or pull requests using the GitHub API.
The block takes the GitHub credentials, the URL of the issue or pull request, and the comment text as inputs. It then sends a request to the GitHub API to post the comment on the specified issue or pull request.
Input
Description
Type
Required
URL of the GitHub issue or pull request
Comment to post on the issue or pull request
Error message if the comment posting failed
ID of the created comment
URL to the comment on GitHub
Possible use case
Automating responses to issues in a GitHub repository, such as thanking contributors for their submissions or providing status updates on reported bugs.
A block that retrieves all comments from a GitHub issue or pull request, including comment metadata and content.
This block retrieves all comments from a GitHub issue or pull request via the GitHub API. It authenticates using your GitHub credentials and fetches the complete comment history, returning both individual comments and a list of all comments with their metadata.
Each comment includes the comment ID, body text, author username, and a direct URL to the comment on GitHub.
Input
Description
Type
Required
URL of the GitHub issue or pull request
Error message if the operation failed
Comments with their ID, body, user, and URL
List of comments with their ID, body, user, and URL
Possible use case
Conversation Analysis: Extract all comments from an issue to analyze the discussion or generate a summary of the conversation.
Comment Monitoring: Track all responses on specific issues to monitor team communication or customer feedback.
Audit Trails: Collect comment history for compliance or documentation purposes.
Github List Issues
A block that retrieves a list of issues from a GitHub repository with their titles and URLs.
The block takes the GitHub credentials and repository URL as inputs. It then sends a request to the GitHub API to fetch the list of issues and returns their details.
Input
Description
Type
Required
URL of the GitHub repository
Error message if the operation failed
Issues with their title and URL
List of issues with their title and URL
Possible use case
Creating a summary of open issues for a project status report or displaying them on a project management dashboard.
Github Make Issue
A block that creates new issues on GitHub repositories with a title and body content.
The block takes the GitHub credentials, repository URL, issue title, and issue body as inputs. It then sends a request to the GitHub API to create a new issue with the provided information.
Input
Description
Type
Required
URL of the GitHub repository
Error message if the issue creation failed
Number of the created issue
Possible use case
Automatically creating issues for bug reports or feature requests submitted through an external system or form.
Github Read Issue
A block that retrieves information about a specific GitHub issue, including its title, body content, and creator.
The block takes the GitHub credentials and the issue URL as inputs. It then sends a request to the GitHub API to fetch the issue's details and returns the relevant information.
Input
Description
Type
Required
Error message if reading the issue failed
User who created the issue
Possible use case
Gathering information about reported issues for analysis or to display on a dashboard.
Github Remove Label
A block that removes a label from a GitHub issue or pull request.
The block takes the GitHub credentials, the URL of the issue or pull request, and the label to be removed as inputs. It then sends a request to the GitHub API to remove the label from the specified issue or pull request.
Input
Description
Type
Required
URL of the GitHub issue or pull request
Label to remove from the issue or pull request
Error message if the label removal failed
Status of the label removal operation
Possible use case
Updating the status of issues as they progress through a workflow, such as removing a "In Progress" label when an issue is completed.
Github Unassign Issue
A block that removes a user's assignment from a GitHub issue.
The block takes the GitHub credentials, the URL of the issue, and the username of the person to be unassigned as inputs. It then sends a request to the GitHub API to remove the specified user's assignment from the issue.
Input
Description
Type
Required
Username to unassign from the issue
Error message if the issue unassignment failed
Status of the issue unassignment operation
Possible use case
Automatically unassigning issues that have been inactive for a certain period or when reassigning workload among team members.
A block that updates an existing comment on a GitHub issue or pull request.
This block updates an existing comment on a GitHub issue or pull request. You can identify the comment to update using either the direct comment URL, or a combination of the issue URL and comment ID. The block sends a PATCH request to the GitHub API to replace the comment's content.
The updated comment retains its original author and timestamp context while replacing the body text with your new content.
Input
Description
Type
Required
URL of the GitHub comment
URL of the GitHub issue or pull request
Error message if the comment update failed
ID of the updated comment
URL to the comment on GitHub
Possible use case
Status Updates: Modify a pinned status comment to reflect current progress on an issue.
Bot Maintenance: Update automated bot comments with new information instead of creating duplicate comments.
Error Corrections: Fix typos or incorrect information in previously posted comments.