Forums

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

Subtasks should be completed before the parent issue closed

Roja Gurram
Contributor
November 17, 2021

Hi All,

 

Just a quick question please.


All Subtasks issues should be closed before the parent issue closed. What condition is suitable in this case please?

Please advise ASAP!

1 answer

1 vote
Yanty Ghani [ServiceRocket]
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.
November 17, 2021

Hi Roja,

You should be able to use "Sub-Task Blocking Condition" on the parent's issue workflow.

Hope that helps.

Roja Gurram
Contributor
November 17, 2021

HI Yanty Ghani


Thanks for the response.

 

At the moment the workflow we're using for parent issuetype and subtask type is same ( Means only one workflow we are using ). Do we need to split the workflow for parent issuetype and Subtask issue type ?

 

Kindly Advise on the same as soon as you can pls!

Yanty Ghani [ServiceRocket]
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.
November 17, 2021

You can use the same workflow to apply the condition. It will apply it only to the parent's issue, which means you'll be able to transition the sub-tasks to "Done". Once all the sub-tasks are in "Done" status, only then you'll see the transition to "Done" in the parent's ticket.

Roja Gurram
Contributor
November 18, 2021

Hi Yanty Ghani,

 

I have added a condition on the last transition of the workflow (Closed Status transition ) however it's not working as expected. I have created one parent issue under it created 2 sample subtask issues and i tried to close the subtasks issues to Closed and that checked the Parent issue status it's still remains the same. Attached screenshot for your reference.

Parent issue.PNG

Yanty Ghani [ServiceRocket]
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.
November 18, 2021

That condition only allows the "Done" transition to show for the parent status, but it wouldn't transition the parent's status automatically. In order to do that, you need to use automation.

This video will help you, https://www.youtube.com/watch?v=itZtQXGCSoM

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.3.1
TAGS
AUG Leaders

Atlassian Community Events