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.
Ex.
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.
Which app are you using to automatically create the new issue?
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.