Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sum up original estimate and time spent

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

2 votes
Answer accepted

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 Sep 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.

Thanks a lot Mykenna.

 

Bye

Mykenna Cepek Community Leader Sep 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 Sep 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 Dec 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

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.

@Madhu_RVS_Support 

Thanks for you advice.

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

Thanks

Hi @Ramiro Justet 

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

Thanks

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 Sep 30, 2021

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

Like Bill Sheboy likes this
Like Mykenna Cepek likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

How to simplify creating release notes from Jira!

...igure out how fast you can release, so that you stay true to your development plan and the needs of your customers. In this article, we will introduce a few practical ways of documenting your release n...

27 views 0 0
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