Update an issue
update_issueChange one website issue (an action plan; cloud only) the way a person does in the dashboard: its status (open, in_progress, resolved, dismissed for a close as not planned that stays closed, wontfix), its assignee (the user id of a member of the organization; null clears it), its severity, and its title, body_md (the Markdown plan), type (bug, task or feature) and labels (replaces the list). Needs the audits:write scope and an owner, admin or editor role, like the dashboard. Set only the fields to change; at least one is required. A status change moves the issue's findings with it exactly as in the dashboard (a completed close releases them, a reopen re-links them), and a closed issue stays closed when a later audit runs: triage does not reopen what a person closed as not planned. A severity edit on a triage issue locks its priority against the next triage run. Each title, body_md, type or labels edit writes an agent-attributed entry on the issue's comment thread (with the earlier value) and locks that field against the next triage run. A field already locked (a person set it, or an earlier edit did; see locked_fields in get_issue) is refused with the typed error FIELD_LOCKED and nothing is written: ask the user to change it in the dashboard. To change the status of several issues at once pass issue_numbers instead of issue_number (status, assigned_to and severity only): closing more than one (resolved, dismissed or wontfix) answers status "confirmation_required" with the issues it would close and writes nothing until it is sent again with confirm: true. Closing a real problem as not planned hides it from the tracker: only do it when the user said so. The result is the issue as it reads afterwards.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"website_id": "<website_id>"
},
"name": "update_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | New type. Refused (FIELD_LOCKED) when the type is locked. | |
| title | No | New title. Refused (FIELD_LOCKED) when the title is locked. | |
| labels | No | The issue's full label list (replaces it). Refused when labels are locked. | |
| status | No | New status. | |
| body_md | No | New Markdown plan. Refused (FIELD_LOCKED) when the body is locked. | |
| confirm | No | Approve a bulk close of more than one issue (see issue_numbers). | |
| severity | No | New severity (a triage issue's priority follows and is locked). | |
| website_id | Yes | Website id the issue belongs to. | |
| assigned_to | No | User id of an organization member to assign to; null clears the assignee. | |
| issue_number | No | Issue number from list_issues. Give this or issue_numbers. | |
| issue_numbers | No | Several issue numbers for a bulk status, assignee or severity change (no content edits). Closing more than one needs confirm: true. |