You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hope somebody can help as I am struggling to get an automation to work. It's not a particularly tricky one; when an issue transitions to done, if a certain field is not empty, delete all attachments that start with the string "Data Privacy".
Automation triggers fine, if condition matches but the attachments are not deleted.
I've tried variations of the regex as I am not a regex master by any stretch but online tools suggest they would all work:
I've output the names of the attachments in a comment using another Jira automation to try and prove that the automation is seeing the filenames as I see them:
I've set the rule to delete all attachments instead and that did work.
Here's the audit log of the last run:
Any, and all, help greatly appreciated.
My guess it that the regex for the file name needs to match the whole name, so try using this one and see if it works:
@Mikael Sandberg looking to do something similar where we automatically delete .har files on ticket resolution in response to Hackers Stole Access Tokens from Okta’s Support Unit – Krebs on Security
Also not a regex expert ... but our expectation was that this would work: \.har$