Forums

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

How can i auto populate Target end date from release date for epics?

Penelope
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!
August 27, 2021

In JIRA Roadmap view I am looking to auto populate target end date in the roadmap view from the latest release date i.e. stories within the epic may have multiple releases and I want to take the release tagged the furthest date away to the Target End date for the epic. Is this at all possible?

I have tried to explore the option via scheduling but target end date isn't showing fields related to fix version or release date. 

Or is there some way in doing this using the automation tool?

1 answer

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 27, 2021

Hi @Penelope -- Welcome to the Atlassian Community!

Yes, you can do that with automation if you are using Jira Cloud.  For example...

  • trigger: manual so you can run this from the epic
  • condition: confirm the issue type is epic
  • action: lookup issues to get child issues which have a version assigned.  I used "epic link" for a company-managed project.  To do this for a team-managed project you would check parent instead.
  • action: create a variable to gather up the child issue fixVersion's release date, which I named varReleaseDates
{{#lookupIssues}}{{fixVersions.releaseDate.jiraDate}}{{^last}},{{/}}{{/}}
  • action: I logged the result for the maximum date value using a date conversion, the split(),  and max functions.  You could use this to edit your epic to set the Target End Date.
{{varReleaseDates.split(",").toDate.max}}

 

latest release date for epic children.png

If you are using Jira Server/Data Center, it does not have Create Variable so you would need to probably do something with the REST API and response parsing to do this.

Best regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events