Forums

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

Automation rule "Set linked issues to done"

Sebastian Buck June 17, 2021

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 Champion
June 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

0 votes
Sebastian Buck June 17, 2021

hi Alexis,

 

great your solution works!

 

best regards,

Sebastian

Alexis Robert
Community Champion
June 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
Product Admin
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events