Import Tracker issue attachment
tracker_attachments_importImport a file onto an issue with its original author and creation time (admin-only).
Instructions
Import a file onto an issue with its original author and creation time (admin-only).
The file travels as base64 in the request, so keep it small; for a large file run
ycli tracker attachments import instead. created_at uses
YYYY-MM-DDThh:mm:ss.sss±hhmm. Returns the imported attachment.
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_key": "<issue_key>",
"filename": "<filename>",
"created_at": "<created_at>",
"created_by": "<created_by>",
"data": "<data>"
},
"name": "tracker_attachments_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The file's bytes, base64-encoded. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| filename | Yes | Name the imported file gets on the issue. | |
| issue_key | Yes | Issue key, e.g. QUEUE-123. | |
| created_at | Yes | Original creation time, ``YYYY-MM-DDThh:mm:ss.sss±hhmm``. | |
| created_by | Yes | Login or id of the user to record as the file's author. |