update_github_issue
Modify GitHub issues by updating the title, body, labels, and state. Specify repository details, issue number, and new content to streamline issue management through automated updates.
Instructions
Updates a GitHub issue with the specified parameters.
Args:
repo_owner (str): The owner of the GitHub repository.
repo_name (str): The name of the GitHub repository.
issue_number (int): The number of the issue to update.
title (str): The new title for the issue.
body (str): The new body content for the issue.
labels (list[str]): A list of labels to assign to the issue.
state (str): The state to set for the issue (e.g., 'open', 'closed').
Returns:
str: A message indicating whether the issue was updated successfully or an error occurred.
Error Handling:
Logs and returns an error message if an exception occurs during the update process.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| issue_number | Yes | ||
| labels | Yes | ||
| repo_name | Yes | ||
| repo_owner | Yes | ||
| state | Yes | ||
| title | Yes |