Skip to content

jtk attachments

The attachments command group manages issue attachments. Aliases: attachment, att.

List attachments on an issue.

Terminal window
jtk attachments list PROJ-123
jtk attachments list PROJ-123 --json

Arguments:

ArgumentDescription
issue-keyJira issue key (required)

Example output:

ID Filename Size Author Created
10001 screenshot.png 245 KB Jane Doe 2025-01-14 09:30
10002 error-log.txt 12 KB Bob Smith 2025-01-14 14:00
Showing 2 of 2 results

Download an attachment by ID.

Terminal window
jtk attachments download 10001
jtk attachments download 10001 --output ./downloads/screenshot.png

Arguments:

ArgumentDescription
attachment-idAttachment ID (required)

Flags:

FlagShortDefaultDescription
--output-ocurrent directoryFile path to save the downloaded attachment