Contents

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

NameTypeRequiredDescription
assigneesstring[]NoEvery login the item should be assigned to, replacing the current set; an empty array unassigns everyone.
bodystringNoNew body; null or empty keeps it.
clear_milestonebooleanNotrue to remove the milestone.
issue_numberintegerYesIssue or pull request number.
labelsstring[]NoEvery label the item should carry, replacing the current set; an empty array removes them all.
milestoneintegerNoMilestone number.
ownerstringNoRepository owner. Defaults to the connection's installation account or OAuth user; give it for organization or collaborator repositories.
repostringYesRepository name, without the owner.
stateanyNoopen or closed.
state_reasonanyNoWhy the state changed; GitHub ignores it unless `state` changes.
titlestringNoNew title; null or empty keeps it.