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
I have found by chance an Automation 4 Jira (Server) rule that does not have our technical user as actor, but a (former) employee (user deactivated).
Is there a way to find rules by a specific actor or - better - NOT having our technical user as actor?
Solutions including searches in the Jira DB are fine, too! :-)
Hi @Thiemo Hiecke -- Welcome to the Atlassian Community!
I do not believe that is possible yet, based upon this suggestion: https://jira.atlassian.com/browse/JRACLOUD-76835
One work-around would be to export all rules to JSON, and then search the results for what you need to know. We did that to find use of certain custom fields and other things.
Re: JSON, I've had to do this very thing. So there's a very powerful tool called jq that parses JSON and lets you filter/format it however you like.
But for something like this, I just used its rudimentary "prettifying" feature, and then combined it with good old egrep:
jq . automation-rules-202008312215.json | egrep '^ "name":|username'
So, jq . takes the unformatted JSON export of all rules, and formats it all pretty, with one attribute per line, indented nicely.
Then egrep searches for lines that start with: [4 spaces]"name":
OR contain: username (you would replace this with the username you're searching for)
You should then end up with a list of EVERY rule, and if the username shows up anywhere in that rule, it will be listed after that rule, so like:
"name": "Auto assign on transition"
"name": "Balance support load for team",
"name": "Offboarding - Sub Tickets Creation",