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

Follow Parent Status if Parent being moved

Thomas A July 22, 2024

 

 

I want to create an automation to move status following the parent status. In the board there are 3 types of issue Epic, Task, and Sub-Task. I already create rule like iamge below. But it does not work well.  

sync1.pngsync2.png

2 answers

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2024

Hi @Thomas A 

If your rule detects an Epic transition and then transitions child issues (e.g., Story, Task, etc.) and grandchild (e.g. Subtasks) to match, why have any child or grandchild issues?  It would seem they are not used to track work items / progress.

Often this type of scenario is inverted: when the first child (or grandchild) transitions to in-progress, move the parent as well.  Similarly, when the last child (or grandchild) transitions to done, move the parent to match.

Kind regards,
Bill

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 23, 2024

There are two approaches to to manage the service limit, counting impact when cascading changes through multiple issue levels in the hierarchy:

Using multiple rules, where there are separate rules for each hierarchy pair and use conditions to manage that:

  • rule 1: epic to task changes
  • rule 2: task to subtask changes; this rule would enable the allow rule trigger option, but the count will only be 1 for each child issue, so there is no problem unless there are more than 10 child issues in an epic

Use one rule, which uses Lookup Issues to first gather all of the issue keys needed, and then uses a JQL branch to iterate over them in one pass.  For this approach, the allow rule trigger option is not needed.

0 votes
Tharaka_Hettiarachchi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2024

Hi @Thomas A ,

your automation rule is correct. Problem is rule is not executing again. Try enabling following option in Rule Details. 

Go to Rule -> Rule Details -> Enable following option

 

Screenshot 2024-07-22 at 16.10.42.png

 

Cheers!

Thomas A July 22, 2024

is'nt that only if we have two seperate rules to run continously?

 

Thomas A July 22, 2024

Alright thank you it works now! Why does the naming is ambigous

 

 

Tharaka_Hettiarachchi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2024

We need to enable that to move sub tasks. Because, First it will trigger only child task, then again we need to execute the same task to trigger subtasks. If its correct please mark the answer as correct

 

Cheers!

Thomas A July 22, 2024

So from my understanding, if we want to run multiple branch we need to enable that feature first, right?

 

 

 

 

 

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2024

Hi @Tharaka_Hettiarachchi 

Using the option to allow rule trigger may not be a good approach for this scenario.

The reason is a self-triggering rule for three levels of issue hierarchy could quickly trigger more than 10 times and halt rule execution due to service limits for loop detection: https://support.atlassian.com/cloud-automation/docs/automation-service-limits/

Kind regards,
Bill

Thomas A July 22, 2024

What is the solution to solve this case?

 

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events