Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Automatically close Parent Issue when ALL Sub-tasks are closed

Looking for assistance on creating an automation rule that would close parent issue when all sub-tasks are completed.  Thanks in advance.

 

 

3 answers

1 accepted

2 votes
Answer accepted
Sudarshan
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.
Feb 05, 2021

Hello @cinzia 

You can try this with the Jira automate 
check this link for more understanding - https://www.atlassian.com/software/jira/automation-template-library/most-popular

Jira_Automate.png

Hope this is what you expected, Try this and do reply if its working.

Sudarshan
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.
Feb 05, 2021
Like # people like this

This worked out perfectly.  Thank you so much :-)

Like Sudarshan likes this
Alexey Paveliev
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.
Oct 28, 2021

Does this work when ALL issue's sub-tasks are done?

Like # people like this

For me i needed to add one more condition: Sub-Task workflow.PNG

The status' in my case didnt match either so just an adjustment on the destination status for the Parent ticket. 

This was very helpful, @Brent Thayer - Thank you!!

I am looking for the same, a rule when that all the children are in status(category) Done. The rule that was accepted will update the status to Done when just one child is also marked done. 

I need this too but in my case if i mark one Sub-Task as "Done" the Parent goes to resolved and i dont know why :(. The parent should go to "Resolved" after ALL Sub-Tasks are marked as "Done"...

I am not sure exactly what is the case for you but i would first start by making sure that you have the correct status' configured for Parent tickets. Make sure that you have a usable transition to that desired destination status as well. May be a good idea to make sure there isnt any other automation or post functions that are causing this behavior as well.  

That has got to be one of the craziest responses I've ever read. 

I think i misunderstood the ask here. For that i apologize. If you are struggling to limit this transition to only when all subtasks are completed then please all ensure that you have the proper condition on the workflow transition. See screen shot:

Subtask Transition.PNG

OMG sorry for my stupidness :x that was the finally fact that i forgot... I configured that in my WF, and now it all works fine. Many Thanks!

Like Brent Thayer likes this

Does this mean that we can use the automation above, and it will not close the parent story if not all the sub-tasks are closed?

Yes that is correct. 

Suggest an answer

Log in or Sign up to answer