How to bulk delete attachments in Jira Cloud

By Jake Marsh · Updated

To bulk delete attachments in Jira Cloud, install Attachwell, open Apps > Attachwell > Find files, search with JQL and filters (size, age, type, uploader, category), tick the files you want gone and click Delete. Attachwell shows a preview of exactly which files will be deleted and which will be left alone, you type the phrase it shows, such as DELETE 14 FILES, and the files are deleted as you, with every one recorded in the audit log.

What Jira does on its own

On a single work item, Jira Cloud can delete one file or every file attached to it. What it can't do is let you pick some files across many work items, for example every video over 100 MB in a project, or every file older than two years in work items that are Done. That selection is what Attachwell adds.

Jira deletes attachments permanently. There is no trash to restore from, in Jira or in Attachwell, so it pays to see the list before anything goes.

Steps

  1. Open Apps > Attachwell > Find files. Only work items you can see in Jira are searched.
  2. Type a JQL query, or leave it blank for everything you can see. Attachwell checks the JQL with Jira's strict parser first, so a typo shows Jira's own error message instead of an empty list.
  3. Add filters. Name contains, type (images, videos, audio, documents, archives, other), size (over 1 MB, 10 MB or 100 MB), age (older than 6 months, 1 year or 2 years), uploader and category. Under Show, pick all files, duplicate uploads or email signature images.
  4. Click Find files. Each search reads 300 work items. If there are more, click Search more work items to keep going.
  5. Tick the files, or select all results, and click Delete.
  6. Read the preview. It is built from what is in Jira right now and names every file that will be skipped, with the reason: you don't have the Delete attachments permission in that project, the file is shown inline in a description or comment, or it is no longer there.
  7. Type the phrase exactly as shown. The preview is valid for 15 minutes.
  8. Wait for "Delete finished". Files go ten at a time. Each one is read again just before it is deleted, and if its name or size changed since the preview, it is skipped.

Example searches

You want to deleteJQLFilters
Old files on finished workproject = WEB AND statusCategory = DoneOlder than 1 year
Big videos in one projectproject = MKTType: videos, Over 100 MB
Signature images on service requestsproject = HELPShow: email signature images
Second copies of the same uploadblankShow: duplicate uploads
One person's files after they leftblankUploader: their name

A duplicate upload is a file with the same name and size as an earlier file on the same work item, and the earliest copy is never flagged. An email signature image is an Outlook-style name such as image001.png at or under the size your admin set, 50 KB by default.

Deleting from one work item

For a single work item, open the Files panel under its summary, tick files (or use the buttons that select every duplicate or every email image on it) and click Delete. The same preview and typed phrase apply.

Who can delete what

Attachwell never deletes more than you could in Jira. The delete runs as you, and the preview checks Delete own attachments (your files) or Delete all attachments (anyone's files) in each project. Files shown inline are left alone by default so a description doesn't end up with broken images; you can untick that option in the preview if you mean to remove them too.

Afterwards

Your deletes are listed under Activity in Apps > Attachwell, and Jira admins see everyone's in the audit log with who, when, which file, which work item and the result. Atlassian's storage meter is calculated separately and can take days to go down. To see where space went before you start, see how to find what is using your Jira storage.

Attachwell starts with Atlassian's 30-day free trial; prices are on the Attachwell page.

What it costs

Attachwell is From $10 a month for up to 10 users. Every plan and the install link are on the Attachwell page.

Attachwell: Attachment Manager for Jira

Rename attachments, file them by category, find what fills your storage and clean it up safely, across every Jira project. From $10 a month for up to 10 users.


Questions

Can I undo a bulk delete in Jira?

No. Jira deletes attachments permanently, and neither Jira nor Attachwell keeps a copy. Download anything you might need before you delete it.

Is there a limit to how many files one delete can take?

Each search reads 300 work items at a time, and you can keep adding more with Search more work items before you delete. The delete itself works through the selected files ten at a time.

Can I delete attachments by file type?

Yes. Filter by type (images, videos, audio, documents, archives or other), or type part of a name such as .mov in Name contains.

Why were some files left out of my delete?

The preview lists the reason for each one: missing Delete attachments permission in that project, shown inline in a description or comment, already removed, or changed in name or size since the preview.


More Attachwell guides


More Jira guides