Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA - How to completely delete attachments?

Neal Carroll October 30, 2018

I want to clean up the stored attachments in JIRA. I can remove attachments from a specific issue, but I cannot remove attachments from JIRA completely. Where are the attachments stored? I assume they are all on some directory that I could access and delete those that are not needed.

1 answer

0 votes
Thomas Deiler
Community Champion
October 30, 2018

Dear @Neal Carroll,

what do you mean with "cannot remove attachments from JIRA completely"? Can you give me more details about that?

So long

Thomas

Neal Carroll October 30, 2018

Hi @Thomas Deiler 

Thanks for trying to help me!

When I say "cannot remove attachments from JIRA completely", I mean that once a file has been uploaded, it remains in a list of possible attachments to attach to an issue. I cannot find where to delete attachments from this list. For example, I uploaded a PNG file showing a page layout. The page layout has changed, so I'd like to remove the original PNG that was uploaded so there is no chance that someone would see it and build a page based off of an old page mockup.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2018

> mean that once a file has been uploaded, it remains in a list of possible attachments to attach to an issue.

I think that's your browser doing it, not Jira.

Thomas Deiler
Community Champion
October 31, 2018

Dear @Neal Carroll,

additonally to Nic's idea you can have a look to the projects permissions. Do you own the permission "Delete own attachments" or "Delete all attachments"?

You can also override the last attachment, if you upload a file with exactly the same name. Then the latest version is displayed. The older versions are "greyed out".

So long

Thomas

Neal Carroll November 5, 2018

@Thomas Deiler Yes I have both permissions you indicated. I'm specifically referring to deleting attachments from the "Recent Uploads" list. This is the only place in Jira I've found where all of my uploaded attachments are stored. When I uploaded a new attachment with the exact same name, it did not replace or "grey out" the previous image in the "Recent Uploads" list. That's what this question is pointing at, how do I completely remove an attachment from Jira so it is not in the "Recent Upload" list or anywhere else in the application.

Thomas Deiler
Community Champion
November 6, 2018

Dear @Neal Carroll,

I played around with attachemts on a Jira Software Server 7.12.3. Everything worked like designed. All attachments could be completely removed from any issue.

Probably the workflow is disallowing it when the propperty

jira.issues.editable = false

was set.

if not, then something is wrong with your Jira. Did you have a look in the log files (JIRA_HOME/log/atlassian-jira.log)? Any warnings / errors?

So long

Thomas

Suggest an answer

Log in or Sign up to answer