Links and attachments
Discover link types and existing link IDs before writing:
jrc issue link-types --output json
jrc issue links PROJ-123 --output json
jrc issue link PROJ-123 --link-type Blocks --to PROJ-456 --dry-run
jrc issue unlink LINK_ID --dry-run
Treat unlinking as destructive even when the CLI does not require --confirm.
Ensure the requested direction matches Jira’s inward and outward link wording.
List attachments before downloading or deleting:
jrc issue attachment list PROJ-123 --output json
jrc issue attachment upload PROJ-123 ./report.txt --dry-run
jrc issue attachment download PROJ-123 ATTACHMENT_ID --out ./report.txt
jrc issue attachment delete ATTACHMENT_ID --confirm --dry-run
Uploading and deleting mutate Jira. Downloading writes locally: do not overwrite an existing destination without the user’s intent. Never infer an attachment ID from a filename when multiple entries match.