execute_transition
Moves an issue to a new status by executing a workflow transition. Use available transitions first and provide resolution fields when required.
Instructions
Move an issue to a new status by executing a workflow transition. First get available transitions via get_issue_transitions. Some transitions (e.g. "close") require a resolution via extraFields, e.g. {"resolution": "fixed"}.
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": {
"issueId": "<issueId>",
"transitionId": "<transitionId>"
},
"name": "execute_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Comment to add with the transition | |
| issueId | Yes | Issue key or id | |
| extraFields | No | Fields to set during the transition, e.g. {"resolution": "fixed"} | |
| transitionId | Yes | Transition id from get_issue_transitions |