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

∑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

5 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
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

106 views 0 4
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