Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,881
Community Members
 
Community Events
165
Community Groups

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

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

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
Community showcase
Published in Jira Service Management

Improving the Create Issue Experience in Jira Service Management Cloud

Hello everyone!  We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen.  We have just starte...

218 views 7 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you