How do I keep Jira from creating the same issue type over and over again?
Say I have Jira set up to automatically create a new issue whenever the parent issue transitions to a certain status in the workflow. How do I keep Jira from creating the same issue type again and again when I move my issue to the previous step, and forward again? I do not want Jira to keep creating the same issue repeatedly every time I execute this particular transition. I only want it to work once per parent issue. After that, It should not create the same issue again and again just because I pushed back the workflow to the status/transition that triggers the creation of the new issue.
Issue "A" will be created when issue "B (parent)" goes from status "1" -> status "2". We are now is status "2" and Issue "A" has been created. Now I pushed the workflow back to status "1" to fix some information, and then I moved the issue back to status "2". How do I keep issue "A" from creating a 2nd time? I only need one "A" issue to be under the parent at a time.
Hi Nick - Welcome to the Atlassian Community!
As a quick fix, I would set the value of another field (one that is behind the scenes and not seen). I have a custom field called Generic Yes that I use for things like this. The first time it moves to status 2, then set that field = Yes. Then add the check for this field != Yes to create the issue.
Hey y’all! Grab a cup of ☕ and check out the latest installment of Cloud Cafe – our video series about cloud app development on Atlassian. If you’re new to Cloud Cafe, check out the first few episo...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events