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'm having trouble creating a condition for a certain issue key which does not exist. If the project ("CHANGE" in this case) exists, the JQL is not valid:
But if the project does not exist, it is valid:
Any solution to this?
The question is quite interesting. Especially the behavior when the project does not exist.
The question is, how do you generate the key you are looking for? What is the goal you want to reach with your rule?
I'm trying to link issues based on the description. E.g. if the desciption contains [A-Z]+-[0-9]+, it should automatically link this issue. But this is producing errors from time to time, because the issue key may not exist (e.g. COVID-19). To suppress the errors, I'd like to check if the issue exists before linking it.
I found this example from Andreas Knecht.
It does exactly the same and generates errors if
I completely agree that rules that generate errors are bad rules but perhaps this is how it should work. It's a quite simple rule and you could turn off the error messages.
If this solution is unsatisfactory you should ask Andreas how they handle that.
Edit: fixed link after Automation for Jira now belongs to Atlassian.