Transition epic to done when all linked tasks are marked done

Collista Lewingdon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 16, 2023

Currently working on Automations for a project and we have a rule that transitions and epic to done when all sub-tasks are done.

2023-02-16 10_10_08-Automation Playground _ Atlassian.png

But it does not trigger when there are no sub-tasks and only tasks. 

2023-02-16 11_27_07-List - Infinite Campus Upgrade - Jira.png

There is not an option within the related issues condition to select just tasks. How can I make this work?

2023-02-16 11_29_32-Infinite Campus Upgrade - Details - Jira.png2023-02-16 11_29_44-Infinite Campus Upgrade - Details - Jira.png

3 answers

1 accepted

1 vote
Answer accepted
Collista Lewingdon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 21, 2023

Thank you for the suggestions. I was able to figure it out another way. Here is the rule I used instead and it performed the needed function well. 

Epic Done when Tasks Done.png

0 votes
Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 16, 2023

Hi @Collista Lewingdon 
Epics are not the "Parent" of sub-tasks...Tasks and Stories etc are.

If you want an Epic to close when all Stories (or tasks...whatever) are complete.
Go to the Automation library and use "When all stories are completed → then close epic" as the template to get you started.
If you wanna do the sub-task level as well, use "When all sub-tasks are done → move parent to done" as the template.

Collista Lewingdon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 17, 2023

As you can tell from my screenshots above, I already have this automation and it does not do what I need. We are not using stories, just tasks connected to epics

Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 19, 2023

@Collista Lewingdon  No, the one in your screenshot will not work on epics and tasks, as it is the Sub-task based one. Use the "When all stories are completed → then close epic" template and tweak to work for your issue type(s) and "Done" workflow status(es).

0 votes
James D
Contributor
February 16, 2023

Hi @Collista Lewingdon

You might be able to use a JQL condition for your second step as in my screenshot here, setting the query to search for Task issuetype and then if you want to add any other conditions.

JQL_issuetype_Task.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events