Forums

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

Set status of an EPIC to lowest status of it's child Task/Story

Philipp Hildebrandt
Contributor
August 1, 2022

Hi,

for the following use case I need your Input.
I want to keep my EPICS in a consistent status, so that the EPIC adopts the lowest status of it's included tasks / stories.

Let me give you an example:

I have an EPIC A and 3 Tasks within.

All these Tasks and the EPIC have the status = done

Now I create a new task within this epic - start value of the task status = backlog

Now I expect that the status of the epic changes also to backlog. When I now set the status of the task to "in progress" the status of the epic should also change to "in progress"

 

When I now created another task or story within this epic and the status = "backlog" the epic should change to the lowest status of all including tasks / stories - in this moment = "backlog"

1 answer

0 votes
Mikael Sandberg
Community Champion
August 1, 2022

You can do this using automation, the rule would look something like this:

Screen Shot 2022-08-01 at 12.59.26 PM.png

Philipp Hildebrandt
Contributor
August 3, 2022

Hi,

Thank you. I think this could only be a part of the automation. There could be more task with different status in one epic and I would like to give the epic the lowest one.

Mikael Sandberg
Community Champion
August 3, 2022

Correct, the above was just an example. I would probably have two automations, and in the Epic branch make a web request to the second one that looks up the lowest status.

Philipp Hildebrandt
Contributor
August 3, 2022

It would be great, if you could give me a complete example for my case 😎

Mikael Sandberg
Community Champion
August 3, 2022

The second automation would look something like this, with a if/else condition for each of you statuses

Screen Shot 2022-08-03 at 2.37.41 PM.png

And you should probably add a condition in the if/else block that also verifies the status of the epic and only transition if the epic is not already in the specified status.

Suggest an answer

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

Atlassian Community Events