Forums

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

Trying to mark story as done if all sub-tasks are done with Automation

oscar.klink
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 5, 2020

Hello, I am trying to set up what is outlined in this guide:

https://community.atlassian.com/t5/Marketplace-Apps-Integrations/How-can-I-transition-the-parent-when-all-subtasks-are-resolved/qaq-p/159407

But when I test it, nothing happens at all.

This is what my automation looks like:
Screenshot 2020-05-06 07.52.50.png

All I'm trying to accomplish is to check if all sub-tasks are done on a story, then move that story to Done. We're using a next-gen Scrum project for this (has also tested on Kanban).

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2020

Hello @oscar.klink

Thank you for reaching out.

Indeed, the rule you created should be transitioning a story to Done when the last sub-task of that story is transitioned to Done.

I tested it in my own test instance, creating a Story and three sub-tasks under it. After I closed the third sub-task, the parent story properly transitioned to Done:

Screen Shot 2020-05-07 at 16.17.41.pngScreen Shot 2020-05-07 at 16.17.52.png

That being said, please provide us the information below so we can further troubleshoot your issue:

  1.  Try to run a simple test: Create a single Story with three sub-tasks, closing the three sub-tasks one by one.
  2. Wait a few seconds and check if the Story gets transitioned, properly refreshing the page.
  3. If nothing happens, provide us with a screenshot of the Audit log in your Automation rule, as I provided above
  4. Under project settings > Issue types, make sure that you have configured a sub-task issue type, instead of a standard-issue type with the name "Sub-task":

    Screen Shot 2020-05-07 at 16.31.04.png

Let us know if you have any questions.

Paweł Gajewski September 10, 2021

Does this rule work with custom subtask types also ?

Marrianna Martinez October 1, 2021

Is it possible to set a similar rule for closing a Story if all the Tasks are done? I dont see an option to set Tasks as the branch condition. 

Suggest an answer

Log in or Sign up to answer