For a project I want to set the start and finish date of each epic considering the max date of the tasks related.
I really appreciate ideas to set a rule.
Are you asking how to do this with Automation for Jira rules? If so...
I can think of a simple way to do this which does not handle all possible scenarios, and a more complicated way: The simple way assumes Start Dates only get earlier for tasks, not later, and that Due Dates only get later, not earlier.
With the simple way, you use one automation rule. In my example below, I assume you mean Due Date as I do not see a Finish Date field in my Jira instance. If you have a Finish Date field in your Jira instance, please substitute that field name.
The more complicated way uses two rules and can handle the dates changing in either direction, earlier or later. Please let me know if you want me to post that information.
Hi @Omer Agami
Since this question was posted in April 2021, Atlassian has improved the Lookup Issues action to include all fields. It is now much easier to find the min/max and update the parent epic, and eliminate any edge cases. Here is an example for start date:
Hi @Bill Sheboy
Thanks a lot for the idea, I understand the logic of the flow.
I wanted to ask if I have a few epics in a version (and of course I want every epic to be presented with its dates), I didn't understand how to generate the action section, how to refer to the proper JQL.
Thanks a lot!
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