Forums

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

How can one automatically modify the status of dependent tasks through the configuration of automati

Moriarty Chiu August 24, 2023

I currently have three tasks: task1, task2, and task3. Task2 depends on task1, while task3 depends on both task1 and task2. I would like to automatically set a block status for the dependent tasks when their respective dependencies are not marked as "done". Conversely, when the dependencies are marked as "done", I would like to automatically set the tasks as "Todo". Specifically, when the status of task1 is not "done", it should automatically set both task2 and task3 as "block". When the status of Task1 is "done", it should automatically set Task2 as "Todo".

test.png

I have attempted numerous approaches without success. Please advise on how I can achieve the desired outcome.

1 answer

1 accepted

2 votes
Answer accepted
Mohammed Aamer Khan
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.
August 24, 2023

Hi @Moriarty Chiu ,

You need to create 2 rules, One on Issue linking and another on issue transition. Please use below rules to achieve your requirement.
Rule 1.1.pngRule 1.2.pngRule 2.png

 

Let me know if you are able to achieve your requirement using it.

Regards,
Aamer

Moriarty Chiu August 24, 2023

Hi @Mohammed Aamer Khan ,

Thank you very much for your response, but I created two rules following the method you provided, yet they did not fulfill my requirements.

Upon reviewing the audit logs, I have discovered that neither of these rules were executed.

Mohammed Aamer Khan
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.
August 24, 2023

Hi @Moriarty Chiu

Please check the link type you are using. 
Rule 1 will execute when you link an issue.
Rule 2 will execute when you transition / Change status of issue.

Please check that way and let me know if still they aren't triggered.

Moriarty Chiu August 24, 2023

Hi @Mohammed Aamer Khan

I have noticed that if we simply change the "Linked issues types" in the "for branch" to "blocks", it will work. However, adding the "is blocked by" rule instead will result in unsuccessful execution. I appreciate your gratitude once again for the assistance provided.

 

Thanks and Best Regards

Moriarty

Mohammed Aamer Khan
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.
August 25, 2023

Hi @Moriarty Chiu

Thanks for confirmation. Please mark answer accepted so that other people can be benefited.

Cheers,
Aamer

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events