Forums

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

Bulk delete attachments

Katherine Stevens
Contributor
November 9, 2022

Is there a JSM app that would help me to bulk delete attachments?  Basically, I'm looking for a way to delete social media icons that come in as attachments.

3 answers

0 votes
Vish Reddy {Revyz}
Community Champion
November 9, 2022

Hi @Katherine Stevens 

I represent Revyz

we help Jira administrators automate their data backups and provide for granular restore of issues, configuration, attachments etc..

Given that we backup all the data, we introduced a feature which helps you look through your attachments in the backup and provides you with additional analytics (size etc..). We have on purpose not introduced the deletion feature. I would love to get your input on the use case for deletion, please feel free to block 30 mins on my calendar. You can learn more about our app here.

 

Thank you

Vish

Katherine Stevens
Contributor
November 9, 2022

Thanks @Vish Reddy {Revyz} Vish,

The main purpose for me is bulk deletion of unneeded attachments such as social media icons that come though in signature lines.

Thanks.

Like # people like this
Vish Reddy {Revyz}
Community Champion
November 9, 2022

Thank you for sharing the use case @Katherine Stevens 

This is very interesting.

0 votes
Hamza Chundrigar
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.
November 9, 2022

Hi Katherine,

If you’re looking to bulk delete attachments (without an add-on) from the issue’s attachment panel, you could try this:

If you’re looking to utilize a marketplace app, you could look into Smart Attachments for Jira

You could also look into other Marketplace Apps for Jira Cloud here.


Hope that helps,

Hamza

Sagi Gueta
Contributor
December 22, 2022

@Hamza Chundrigar as a project admin I can't see that option. Any ideas why?

image.png

0 votes
Walter Buggenhout
Community Champion
November 9, 2022

Hi @Katherine Stevens,

There is a feature request to address the issue natively that you can track here: JSDCLOUD-6037.

Automation for Jira does have an action capable of deleting attachments, as you can see in this example:

Screenshot 2022-11-09 at 20.40.46.pngYou can use a regex expression to determine the criteria for which files to delete and which to leave. That is the achilles heel of this workaround, I'm afraid. Because you do not want to remove to many or too few attachments.

Hope this helps!  

Katherine Stevens
Contributor
January 12, 2023

I don't know much about regex.  Is there way to do a regex statement by file size?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events