update_issue
Modify issue state, labels, or assignees in a Gitopia repository using atomic on-chain transactions. Supports toggling open/closed status, adding/removing labels, and managing assignees.
Instructions
Use this when you need to change an issue's state (open/close), labels, or assignees. All actions are batched into a single atomic on-chain transaction. Requires 'owner', 'name', 'issue_iid'. Optional: 'toggle_state' (open/close), 'state_comment', 'add_labels', 'remove_labels', 'add_assignees', 'remove_assignees'. At least one action must be specified. See also: get_issue, comment_on_issue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner (username or DAO name) | |
| name | Yes | Repository name | |
| issue_iid | Yes | Issue number (IID) | |
| toggle_state | No | Toggle issue open/closed state | |
| state_comment | No | Comment to add when toggling state | |
| add_labels | No | Label IDs to add | |
| remove_labels | No | Label IDs to remove | |
| add_assignees | No | Usernames to assign | |
| remove_assignees | No | Usernames to unassign |