create_macro
Create a macro in a Yandex Tracker queue to automate adding comment text and updating fields. Use {{issue.local.<field_key>}} placeholders for dynamic values.
Instructions
Create a macro in a queue.
Tip: use {{issue.local.<field_key>}} to reference local fields in body text.
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": {
"queue": "<queue>",
"name": "<name>"
},
"name": "create_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Macro body (comment text to add) | |
| name | Yes | Macro name | |
| queue | Yes | Queue key (e.g. "DEV") | |
| issue_update | No | Fields to update when macro runs (dict) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |