JIRA Automation to delete Excel attachments

Brian Taylor March 22, 2023

I have a use case where a user needs to remove Excel attachments from a list of issues. I have found the automation to remove all attachments, but looking for an option only to remove a specific file.  I believe it will be using a regular expression, but I need help determining how to set it. 

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
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.
March 22, 2023

Hi @Brian Taylor 

If you look in the details of the Delete Attachments action, it will point you to a reference for creating a regular expression.  I recommend looking there to confirm you have what you need.

For example, a very basic one to remove just the *.xlsx files would be this:

(.+\.xlsx)

 

Kind regards,
Bill

Brian Taylor March 23, 2023

Thank you for your help - worked perfectly 

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.2
TAGS
AUG Leaders

Atlassian Community Events