GitHub Update Issue Or Pull Request
GitHubUpdateIssueTool · Tools · Connections
Update an issue, or the fields a pull request shares with issues: title, body, open or closed with a reason, labels, assignees, milestone. Null or omitted fields stay as they are, and an empty title or body is ignored. labels and assignees replace the whole set, and an empty array clears it; to change one, use the add and remove tools. clear_milestone removes the milestone. A pull request's base branch is github_update_pull_request.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
assignees | string[] | No | Every login the item should be assigned to, replacing the current set; an empty array unassigns everyone. |
body | string | No | New body; null or empty keeps it. |
clear_milestone | boolean | No | true to remove the milestone. |
issue_number | integer | Yes | Issue or pull request number. |
labels | string[] | No | Every label the item should carry, replacing the current set; an empty array removes them all. |
milestone | integer | No | Milestone number. |
owner | string | No | Repository owner. Defaults to the connection's installation account or OAuth user; give it for organization or collaborator repositories. |
repo | string | Yes | Repository name, without the owner. |
state | any | No | open or closed. |
state_reason | any | No | Why the state changed; GitHub ignores it unless `state` changes. |
title | string | No | New title; null or empty keeps it. |