Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automated issue creation upon parent issue transition

Nick Burgess June 29, 2020

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. 

2 answers

1 accepted

0 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 29, 2020

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. 

0 votes
David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 30, 2020

Which app are you using to automatically create the new issue?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events