Dear Experts,
For privacy and trade secret reasons, we are required to remove certain attachments in closed tickets after they have been completed.
Is there a way in Jira Service Management to display attachments in tickets as a total list of all attachments and then delete a selection of attachments (e.g. specific file types) as a total from the system?
I am looking forward to your feedback.
Kind regards
Daniel
You can use automation issue transition to Done as below & then delete attachments which match specific regular expressions. e.g. (for alpha numeric pdf files "^\\d+\\..+\\.pdf$")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again
I was able to set up the deletion of attachments for both variants using Regular expression. However, I can only delete one attachment per ticket.
Any idea how I can delete all existing attachments that match this rule?
Regards
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ideally, it should delete all the attachments which match the regular expression, I wonder if the one's which are not deleted may be doesn't match regular expression.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vishal
Deleting attachments works great for tickets that are set to the "Done" status. But is there also an automation rule to delete attachments from already closed tickets?
Best regards
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just use manual trigger in the automation & then use jql to identify your issues, you should be able to delete attachments for closed issues as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.