Manage Jira ticket attachments. Use when the user wants to list, upload, download, or delete attachments on a ticket.
List, upload, download, or delete attachments on a Jira ticket.
Run:
aide jira attach TICKET-KEY --<operation> [options]
| Flag | Short | Description |
|---|---|---|
--list |
-l |
List all attachments on the ticket |
--upload |
-u |
Upload file(s) to ticket (can be repeated) |
--download |
-d |
Download attachment by ID or filename |
--delete |
Delete attachment by ID or filename |
| Flag | Short | Description |
|---|---|---|
--output |
-o |
Output directory for downloads |
--format |
Output format: text, json, markdown |
List mode: Shows attachment details including:
Upload mode: Confirmation with uploaded file details
Download mode: File saved to current directory or specified output path
Delete mode: Confirmation of deletion
# List all attachments
aide jira attach PROJ-123 --list
# Upload a single file
aide jira attach PROJ-123 --upload ./screenshot.png
# Upload multiple files
aide jira attach PROJ-123 --upload ./doc1.pdf --upload ./doc2.pdf
# Download by filename
aide jira attach PROJ-123 --download "requirements.docx"
# Download to specific directory
aide jira attach PROJ-123 --download "report.pdf" --output ./downloads
# Delete an attachment
aide jira attach PROJ-123 --delete "old-screenshot.png"
# Get attachment list as JSON
aide jira attach PROJ-123 --list --format json
| Goal | Command |
|---|---|
| See attached files | aide jira attach PROJ-123 --list |
| Add bug screenshot | aide jira attach PROJ-123 --upload ./bug.png |
| Get attached log | aide jira attach PROJ-123 --download "error.log" |
| Remove old file | aide jira attach PROJ-123 --delete "draft.pdf" |
After managing attachments: