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.
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.