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

Automation rule "Set linked issues to done"

Hello Community,

 

I have a simple case:

When a sprint is completed, all existing tickets should be scanned. If one of the existing tickets in the sprint has a linked ticket, this linked ticket should be set to Done.

 

So here is my rule:

Bildschirmfoto 2021-06-17 um 10.42.04.png

 

But the rule not work:

Bildschirmfoto 2021-06-17 um 10.42.23.png 

 

 

2 answers

1 accepted

4 votes
Answer accepted
Alexis Robert Community Leader Jun 17, 2021

Hi @Sebastian Buck , 

 

as this rule requires to first find all issues in the sprint, and then find all issues linked to those, you will need to create 2 rules. This is because you can't have a branch inside a branch in Automation.

The first rule will add a temporary label to the issues in the sprint that was closed, in order to tag them. 

The second rule will find those tagged issues, close their linked issues and remove the temporary label. 

Please remember to check in the rule details "Allow rule trigger" so that rule 2 can be triggered by rule 1.

 

Rule 1:

 

 

Screenshot 2021-06-17 at 13.29.23.png

Rule 2 :

 

Screenshot 2021-06-17 at 13.29.30.png

 

Let me know if this helps, 

 

--Alexis

hi Alexis,

 

great your solution works!

 

best regards,

Sebastian

Alexis Robert Community Leader Jun 17, 2021

Great ! Can you please mark my answer as "Accepted" so that others can find it ? 

 

Thanks !

Suggest an answer

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

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

109 views 1 11
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