Missed Team ’24? Catch up on announcements here.

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

∑original estimate ∑Time spent usage

Taeseok Ou June 25, 2020

Lets say there is an parenet JIRA issue and under it, it has 3 Sub-tasks.

each sub tasks has each own Original estimate and Time logged.

To sum them to show in parent JIRA issue ticket, is it right to use following field in parenet JIRA Issue type?

∑original estimate

∑Time spent

1 answer

1 accepted

6 votes
Answer accepted
Andreas Knecht
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 28, 2020

Hi @Taeseok Ou ,

So to solve this you can use our new aggregate math functions to sum up the original estimate on all sub-tasks. For example here's a rule that will sum up the original estimate whenever it changes on a child issue and update the parent:

sum-estimates.png

The smart-value that you need is this:

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

(the division by 60 is necessary, since the original estimate field requires its input in minutes)

 

To aggregate the 'time spent', you probably want a second rule that looks something like this:

  • Trigger: Work logged
  • Condition: issue type is sub-task
  • For parent related branch
    • Log work on parent issue (and copy value from trigger)

Hope that helps!

Cheers,
Andreas

Taeseok Ou June 28, 2020

Thank very much Andreas for detailed and kind solution.

By the way, 

what is then following two for which purpose?

∑original estimate

∑Time spent

Like # people like this
Taeseok Ou June 28, 2020

oh,,,, the other Reply on my other similar question says below what I asked just above thread. Thanks!

----

We have a feature request created with our development team to get it implemented:

Sum estimates from sub-tasks in user stories 

Peder Alm November 2, 2022

@Andreas Knecht I got this example to work, but how do I present the result in a pretty print format, e.g. "2d 4h"?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events