Forums

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

Move Epic status triggered by a subtask

Douglas Oliveira
Contributor
May 25, 2023

Hey everyone,

I'm using Jira software Cloud on an enterprise managed project. I have a structure of Epic -> Task -> Subtask.


I would like to create a rule so that when all tasks and subtasks are completed the Epic will be moved to completed as well.

Note: This rule must be triggered by a subtask, as the intention is not to manually modify the status of tasks and epics. They will be moved automatically upon changing the status of the subtask.

I currently have automations ready for all status changes triggered by subtasks except this one.

In short, I need:

Subtask moved to completed ->
Check if all subtasks are completed -> if so
Move task to completed ->
Check if all tasks are completed -> if so
Move Epic to Completed.

If this order is not followed, do not trigger the rule.

 

Has anyone done any automation of this type?

2 answers

1 accepted

0 votes
Answer accepted
John Funk
Community Champion
May 26, 2023

Hi Douglas,

I do that now with two different rules - one that marks the parent of the sub-task done when all sub-tasks are done. And then one that marks the Epic done when all children of the epic are done. Examples are shown below.

Screenshot 1.png

Screenshot 2.png

Douglas Oliveira
Contributor
May 26, 2023

Hello @John Funk 

 

I did something very similar but I was forgetting to check the option of the rule made for the Epico to be activated by another rule. That's why it wasn't working.

 

Thanks for the answer.

Like John Funk likes this
John Funk
Community Champion
May 26, 2023

Glad you were able to get it working!

0 votes
Michel Neeser
Community Champion
May 25, 2023

Hi @Douglas Oliveira

You should be able to do this with the following two automation rules from the automation library, which you can find by going to Project settings > Automation > Library:

Test__JSW_Team__-_Details_-_Jira-2.pngTest__JSW_Team__-_Details_-_Jira.png

Douglas Oliveira
Contributor
May 26, 2023

Hi @Michel Neeser 

 

There is no such option in my library, but I managed to do it, in fact I had already created a rule but I had forgotten to check the option for the rule to be activated by another rule.

 

Thanks

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events