Import Tracker issue attachment
tracker_attachments_importImport a file onto an issue while preserving its original author and creation time. Admin-only; file travels as base64, so keep it small.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The file's bytes, base64-encoded. | |
| 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. |