The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

when close all sub-task close parent task

Petr AST
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 Champions.
September 10, 2020

Good day!
Who can tell you how to implement automation, when closing all sub-tasks, closing a parent task. By default, the automation does not work, the forum search also did not return any results ( 
I took this answer as a basis, but it did not work for me https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Trying-to-close-parent-when-all-sub-tasks-and-linked-issue-close/qaq-p/1251506 


Thanks a lot!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Alvin Chan _Ease Solutions_
Contributor
September 14, 2020

Hi @Petr AST , aside from the automation rule, I believe you need a workflow transition that allows your parent issue to transition to the closed status no matter what is the current status of the the parent issue.

I did a basic automation setup with the following (parent workflow has a transition to allow all status to transition Done) and it worked. Another thing would be to check the Audit Log of your automation rule if it failed. There should be some hint informing you why it failed

basic_close_parent_automation.png

Petr AST
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 Champions.
September 14, 2020

@Alvin Chan _Ease Solutions_  Hi Elvin. 
Thanks for ur answer!
In fact, the automation turned out to be very simple, I got it some time after I wrote the question, but did not answer here, I searched too deeply, with many conditions, but it turned out to be very simple :)