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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,460,329
Community Members
 
Community Events
176
Community Groups

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

0 votes

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.

@Chella_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

@Chella_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

Atlassian Community Events