Skip to content

jira issue attachment delete

  • Usage: jira issue attachment delete KEY ATTACHMENT_ID [flags]

Delete one attachment by its Jira attachment ID. Use attachment list first when you need to discover the ID for an issue.

--dry-run previews the deletion and never contacts Jira. Live deletes require --force in headless, agent, or --no-input mode; an interactive terminal is prompted when --force is omitted.

Safety

--dry-run

Preview without deleting

--force

Confirm destructive removal under --no-input / non-TTY

Examples

jira issue attachment delete PROJ-123 10500 --dry-run # (1)!
jira issue attachment delete PROJ-123 10500 --force # (2)!
  1. Preview deleting an attachment
  2. Delete an attachment by id without a prompt