Forums

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

how to update the epic deadline when the story deadline is updated

Jaqueline Frondola April 4, 2021

I want to update the end date of the epic with the longest date of the daughter stories of that epic

2 answers

2 accepted

4 votes
Answer accepted
Walter Buggenhout
Community Champion
April 5, 2021

Hi @Jaqueline Frondola,

If you were on a premium plan, the built-in advanced roadmaps could take care of that for you automatically.

As it seems you are not, automation can help you achieve this as well. In next gen, you can add an automation rule to your project by clicking the lightning icon towards the top right corner of your project board.

Create a rule somewhat along these lines:

Screenshot 2021-04-05 at 12.02.20.png

It triggers when you add/change the due date of an issue. The create variable action stores the due date of your issue for later comparison with the due date of your epic:

Screenshot 2021-04-05 at 12.02.37.pngAnd the part starting with For Epic (parent) does the comparison of both dates and updates the Epic if the new due date is more recent than the Epic's old due date.

To learn more about automation, definitely have a look at the automation template library  

Jaqueline Frondola April 6, 2021

Thanks a lot for your instructions Walter, I basic user yet in Jira. We almost made it 

I make exactly how do you discribe above, but if my epic has duedate 04/30 and my history1 has 05/05 and my next change has in history2 05/01 the epic change to 05/01 incorrectly..

I need, in this case, that epic duedate will be duedate 05/05

And now, with automatization above, a epic data was 05/01 (my las change)

Walter Buggenhout
Community Champion
April 6, 2021

Hi @Jaqueline Frondola,

That is a fair observation, which is due to the fact that your data are initially wrong: if your Epic's due date had been 5/05 from the start, the update of your other story's due date would not have an impact on the Epic at all. But since you did not have this rule in place before, your historic data are not correct - obviously. 

I do hope you don't have some 1.000+ open Epics currently. I would recommend to go through your open Epics and update the due date of those historic open epics to the due date of the latest story manually.

You can pull a list of all issues in an epic with the following JQL, by the way:

"Epic link" = <EPIC-123> ORDER BY Due DESC

EPIC-123 would be the issue key of any open Epic you want to check. And ORDER BY Due DESC would make sure the issue with the latest due date appears at the top of your list.

Like Jaqueline Frondola likes this
Jaqueline Frondola April 6, 2021

thanks again, your comments helped me learn more about automation

i'm trying to migrate to the premium version where i can use gantt with more quality

Like # people like this
Medha Bhatt
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!
February 25, 2022

Hi @Walter Buggenhout , we are currently on a free trial of Premium plan and I do not see this functionality on Advanced Roadmaps.    I have due dates set on my stories - but the roadmap still doesn't show the epic dates accordingly.    Am I missing anything here?

Iryna Aleksashova
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!
September 29, 2022

Hi @Walter Buggenhout , I have implemented your automation, but for me the epic due date is not updated. Instead appears the notification as on the image:updatedduedate.jpg
I did not change your algorithm. Do I need to do anything else?

1 vote
Answer accepted
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 5, 2021

Hello @Jaqueline Frondola,

Welcome to Atlassian Community!

The Epic date range is currently only manual. It will change if you drag its left and right to adjust or if you change the start and due date. The Epic won't adjust automatically if a child issue, for example, has the due date after the Epic's due date.

There are feature requests suggesting improvements for that:

The best option is to use an Automation rule as Walter mentioned while the features above are not implemented. 

Please, click on vote and also watch the features to receive updates

Kind regards,
Angélica

Jaqueline Frondola April 6, 2021

thanks a lot Angélica, I am studying the links you commented, thank you very much

Like Angélica Luz likes this
Amar.Lebik
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 2, 2023

Hi @Walter Buggenhout

I have followed the automation but epic is getting the update based on the trigger child issue whereas the idea to have the epic dates range aligned with the dates range of its child issues. 

can you please help ? 

 

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