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,369,310
Community Members
 
Community Events
168
Community Groups

∑original estimate ∑Time spent usage

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

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

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

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 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events