It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automated issue creation upon parent issue transition

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

0 votes
John Funk Community Leader Jun 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

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Cloud Cafe Ep. 4: Listing your app on the Atlassian Marketplace

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

104 views 0 2
Read article

Community Events

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

Events near you