Close Issue
issue_closeClose a Yandex Tracker issue by automatically applying a done-status transition with a specified resolution. Obtain the issue type and its valid resolutions first for correct closure.
Instructions
Close a Yandex Tracker issue with a resolution. This is a convenience tool that automatically finds a transition to a 'done' status and executes it with the specified resolution. IMPORTANT: Before closing, you MUST: 1) Call issue_get to retrieve the issue's type field. 2) Call queue_get_metadata with expand=['issueTypesConfig'] to get available resolutions. 3) Choose a resolution from the issueTypesConfig entry matching the issue's type - each issue type has its own set of valid resolutions. Returns a list of transitions available for the issue in its new (closed) status.
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": {
"issue_id": "<issue_id>",
"resolution_id": "<resolution_id>"
},
"name": "issue_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional dictionary of additional fields to set during the transition. Common fields include 'resolution' (e.g., 'fixed', 'wontFix') for closing issues, 'assignee' for reassigning, etc. | |
| comment | No | Optional comment to add when closing the issue. | |
| issue_id | Yes | Issue ID in the format '<project>-<id>', like 'SOMEPROJECT-1' | |
| resolution_id | Yes | The resolution ID to set when closing the issue. Must be one of the IDs returned by get_resolutions tool (e.g., 'fixed', 'wontFix', 'duplicate'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |