Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Sum up original estimate and time spent

Ramiro Justet September 30, 2021

Hi,

I need to sum up the work fields from stories to epics.

I found this formula:

{{#=}}{{issue.subtasks.timetracking.originalEstimateSeconds.sum}}/60{{/}}

There are an similar formula for stories like subtasks or another way to sum up?

What is the purpose of the fields

∑original estimate

∑Time spent

Thanks




 




 

6 answers

2 accepted

3 votes
Answer accepted
Ramiro Justet September 30, 2021

Hi Mykenna,

thanks for you prompt answer!

Could you tell me what is the purpose of the fields

∑original estimate

∑Time spent

Thanks a lot

Mykenna Cepek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 30, 2021

They provide an aggregate of those values for Story-level issues by totaling up the values from the child Subtasks.

You might have hoped that they would also aggregate the time to Epics from the child Stories under that Epic. But no, Jira doesn't currently do that. I don't understand why, but it just doesn't.

More specifically, the first one aggregates the values in the "Original Estimate" field from all Subtasks to the "∑original estimate" field in the parent Story-level issue.

The second one aggregates all the time logged to Subtasks into the "∑Time spent" field in the parent Story-level issue.

Ramiro Justet September 30, 2021

Thanks a lot Mykenna.

 

Bye

Mykenna Cepek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 30, 2021

Note that there is also a field for "∑ Remaining Time", which again does what you would expect -- but again only aggregating from Subtasks-to-Stories (not from Stories-to-Epic).

These "aggregate fields" work as noted here in terms of viewing Jira issues, Jira Automation, JIRA API, etc. Curiously, elsewhere in Jira the Epic-level are sometimes aggregated for display (e.g. built-in reports, tracking progress when a Scrum Board setting for "Estimation" is set to "Remaining Estimate and Time Spent", etc).

Like Brant Schroeder likes this
2 votes
Answer accepted
Mykenna Cepek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 30, 2021

Hi @Ramiro Justet. I'm sorry there isn't a better answer for you on this. But currently Jira Automation cannot do what you want here. I know it looks simple, but many of us have tried and failed. The current architecture of Jira Automation doesn't properly support "computing a sum in a loop".

If you want to read more about why, here are two prior threads here in the Community on these topics. The second is a rant of mine about why this doesn't work.

https://community.atlassian.com/t5/Jira-questions/Sum-Up-Original-Estimations-Jira-Automation/qaq-p/1617188

https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Create-variable-New-component/ba-p/1448118#M3837

0 votes
Diana Belokon
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
December 27, 2021

Hi @Ramiro Justet 

If you are considering an add-on, you might try our simple app EpicTime for Jira - SumUp of Worklogs

It can sum up the work logs of the tiniest child issues to the epic. The app counts every work item and automatically shows the remaining time for the Epic. At the end of epic, the app shows the ratio between estimated and spent time for the Epic issue.

6f9185cc-a7f2-43d3-a2f6-958e9c170512.png

 A variety of reports provide data about time results for all epic issues. You can also see the time spent on any task and subtask within an epic issue.

Please feel free to ask any questions below or to contact us

0 votes
Deniz Oğuz
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.
September 30, 2021

Hi, 

WorklogPRO provides special custom fields which shows totals from subtask to epic. It can also show this information in time tracking panel on the issue.

0 votes
Ramiro Justet September 30, 2021

@RVS_Support 

Thanks for you advice.

Can Agile Tools : Epic Tree & Time in Status  work together with Tempo Timesheet and Tempo Planner?

Thanks

RVS_Support
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.
September 30, 2021

Hi @Ramiro Justet 

This is feature is in our backlog and we plan to start working on it soon.

Thanks

0 votes
RVS_Support
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.
September 30, 2021

Hi @Ramiro Justet 

If you would be interested in a paid add-on, you cantry out our plugin,

Agile Tools : Epic Tree & Time in Status 

The plugin provides complete hierarchy of your Epics with their statuses, % progress based on time estimates and story points at each level and much more. The app also allows to view your issue links in the hierarchy view with their progress.

Along with this the add-on also provides Links Hierarchy, Multiple (more than 8) Time in Status reports to track your issues and Worklogs report to track time spent each day/week/month, based multiple filters/group

Epic Hierarchy.PNG

Mykenna Cepek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 30, 2021

@RVS_Support - just for clarity, does your app actually set the ∑ fields in the Epics to the aggregate totals?

Like Bill Sheboy likes this
RVS_Support
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.
September 30, 2021

Hi @Mykenna Cepek 

Currently no.

Thanks

Like Mykenna Cepek likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events