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
Next: Root
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
How do I use JIRA automation to check if there exists an issue with a specific summary text in an Epic? And if it does not exist, then create it.
I don't know if that's possible, that's why I'm asking. I've tried using For Stories
branch but if the Epic doesn't have any sub issues, then the For Stories
loop won't even get triggered.
Hi @Peter Ruan -- Welcome to the Atlassian Community!
One way to do that in an automation rule is:
Kind regards,
Bill
Hi @Bill Sheboy thanks for the tips. Can you please elaborate a bit more?
I've the following use case:
I am able to do #1, but am stuck on #2. TIA!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That seems a variation on your question, as you now want to check for multiple, pre-defined summaries.
For that case, I recommend doing these one by one to confirm presence of each issue before proceeding. Trying to do this in a loop may be possible, but seems like the behavior will be less predictable.
Perhaps like this, using if/else conditions...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same problem a while ago, and chose to solve it through the workflow. As I can not run an automation on an Issue that does not exist, I did the check on Create and then - if the summary already exists - moved it to a „Duplicate exists“ status. There the assignee was able to resolve the problem.
Not really what you want, but afaik checking values before the issue is created can not be done with automations (yet)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.