Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

How to prevent an automation from running based on a linked issue

Hi there fellow Atlassians, 

 

I am building an automation that triggers the creation of a child issue based on a field value selection when I change a issue status. Following the creation of the child issue, it is then linked to the parent issue. 

I want to implement logic to check if this child issue has already been created, then prevent the rule from running if that issue already exists. 

I think the way to do this is to use a if/else statement, look for an issue with a summary containing "relevant text", then, break (or otherwise stop) the automation. 

My present challenge is I can't seem to figure out how to "break" the loop. It seems it would be good to have a "do nothing" action to select for this case. 

 

 

Looking forward to any pointers for how to achieve this outcome of preventing duplicate child issues. Any recommendations on alternative ways to solve this problem would be greatly appreciated!

Thanks, 

AW

 

 

 

 

 

 

 

 

1 answer

0 votes
Ismael Jimoh Community Leader Jun 15, 2021

Hi @Andrew Walker 

You can build what you described as follows:

  • When issue transitioned,
  • Condition: Related Issue Condition

withthis condition, you can use a JQL to check or even see if a sun-task already exists for the said issue.

This is where I’ll start from.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center Apps Program coming soon

G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...

67 views 0 6
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