Hi all!
This is my repost of my original post, which you can read here:
This automation solves the problem of calculating the sum of the original estimate of all issue types of an epic, without the use of an addon. Keep in mind that I had 4 different issue types (standard tasks) from which I wanted to sum up all original estimates and not story points.
Below you will find my rule, which after testing it, it works like a charm:
So what the above rule does is that
Below you will find each individual rule component.
{{issue.fields.timetracking.originalEstimateSeconds.divide(60)}}
{{lookupIssues.Story Points.sum}}
I though to end this article by presenting to you the pros and cons of this rule:
Cheers,
Alex
It depends on the cons. 3-4 secs of processing time is rather unacceptable to be honest. Keep in mind that you have only 3600 secs of processing time every 12 hours. So this is troublesome if you have a large number of issues that needs to be processed.
Hi Alex,
As you note about performance and usage limits, I wonder: how often do you need this information updated?
Just-in-time updates are awesome when the benefit justifies the cost. If you could live with accuracy of perhaps once-per-day, the rule could be converted to use a scheduled trigger. And the rule could be fired manually, as needed, for a quick refresh between cycles.
Or perhaps investigate if using the REST API directly from the rule with an issue search is faster than LookupIssues to gather and sum the data with list functions.
Best regards,
Bill
With my experience, this field is something that should be up-to-date any time someone opens an issue to view it. If estimates are updated once a day, then yes, once-per-day is something that I could live with it. But if you have multiple projects, with multiple teams, this possible wouldn't work.
REST API would be definitely a good workaround, to avoid these automation limits.
Thanx for pitching in your ideas @Bill Sheboy! Always good to listen to your opinion!
@Alex Koxaras _Relational_ thank you so much for your submission! 🔥
My pleasure! :D
Thanks @Alex Koxaras _Relational_ - bookmarking this for when I'm queried on how to do it!
I'm thrilled to know that this will end up on someone's bookmarks! I'm really glad that you've found this useful!
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Jira Administrator
Configure Jira Software, Jira Core, or Jira Service Management, including global settings, permissions, and schemes.
Managing Jira Projects Cloud
Learn to create and configure company-managed projects in Jira Software and partner effectively with Jira Admins.
Learning Path
Become an effective Jira Software Project Admin
This learning path is designed for team leaders who configure Jira Software projects to match a team's processes.