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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,864
Community Members
 
Community Events
184
Community Groups

When a story has multiple sub tasks transition parent

Need the story status to transition..

If the story has 3 sub tasks

1 is to do

1 is in progress

1 is done

In this scenario the status of the parent should be in progress until all of the sub tasks are done.

The popular automation templates I found moves the parent to done

https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/1357125

https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/140671

I think I need if/then added to the template but not sure exactly how to do this.

I am pretty sure someone has already set up an automation to do this.

 

1 answer

1 accepted

2 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 13, 2022 • edited

I think what you are wanting is to have the Parent task moved to In progress when the first subtask moves to In progress. The parent task stays in the In progress status until the last subtask moves to done at which point the parent task also moved to done. 

Let me first refer you to this post - How-do-I-automatically-trigger-a-status-change-on-a-parent-issue 

If you have a rule that you are working on please share it here and I can help assess where it might be stuck.

Thank you for helping

The link you provided isn't working for me

You are correct I do want to have the Parent task moved to In progress when the first subtask moves to In progress. The parent task stays in the In progress status until the last subtask moves to done at which point the parent task also moved to done. 

Attached is what I made and it moves the parent to done when 1 of 3 subtasks are done.

transition rule.jpg

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.
Jan 13, 2022 • edited

Hi @PATRICIA MURPHY 

Adding to what Jack suggests and your question, the two example rules you note will do exactly what you requested.  What part is missing for you need?

You would only need the if/else rule component when you want to combine these and perform the operation in one rule.

Kind regards,
Bill

@Bill Sheboy @Jack Brickey 

Hi

The rule I made moves the parent to done when only 1 of 3 of the sub tasks are done.

I want the parent to stay in progress until all 3 sub tasks are done.

Is there something in the rule or an issue scheme or post transition function I need to implement to achieve the results I am wanting?

Thank you for your help

Pat

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 13, 2022 • edited

I have corrected the link above. Oddly I cannot get back to that blog so I gave you a different source to solve your goal. Also yo might find this video useful - https://youtu.be/DcPYrw-Puus 

 

Like Bill Sheboy likes this
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.
Jan 13, 2022

Patricia, in the second rule you reference...

https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/140671/25000987

Please note there is a related issues condition.  That is what checks that all of the subtasks are done before moving the parent to done.

Like PATRICIA MURPHY likes this
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 13, 2022

@PATRICIA MURPHY , yes as shown that is exactly what I would expect your rule would do, there is no condition checking if all subtasks are in Done. Can you review the new link I sent and video?

Like PATRICIA MURPHY likes this

Hi @Bill Sheboy @Jack Brickey 

I created and enabled 3 rules in my project.

1. Update the parent status to in progress when any sub-task transitions to in-progress.

2. Update the parent to complete when all sub-tasks are complete.

3. Update all sub-tasks to Accepted when the parent "Story" is Accepted.

This seems to be working for my use cases.

Thank you for your guidance.Automation help request.jpg

Like # people like this
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 22, 2022

Awesome! You are now an automation guru!

Like Bill Sheboy likes this

@JAC 

 

Hi Jack, I have a question.

I have two types of subtask categories (blocks and defect). I want to make an automation that when all the blocking subtasks are finished (regardless of whether there is a default subtask in the backlog, in progress or done state) the history moves to in progress.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events