import_issue_attachment
Attach a local file to a Yandex Tracker issue or comment with a custom author and creation date, preserving historical migration metadata.
Instructions
MIGRATION (admin): attach a local file with a custom author and date, to an issue or to one of its comments.
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>",
"filePath": "<filePath>",
"createdAt": "<createdAt>",
"createdBy": "<createdBy>"
},
"name": "import_issue_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | Yes | Issue key or id | |
| filePath | Yes | Path to the file on this machine | |
| filename | No | Stored name (defaults to the original) | |
| commentId | No | Attach to this comment instead of the issue | |
| createdAt | Yes | Between issue creation and last update | |
| createdBy | Yes |