Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to sum up sub tasks to total story using original hours estimates

Hizkeel Khan
Contributor
April 21, 2022

Hello,

I want to sum the sub-tasks to total story. let me explain this:

I have created one story by the name of Story 1 and under that story 1, I have created two sub-tasks like 1.1 and 1.2. The Estimation format I'm using is Original Hours Estimates. What I want is that if my subtask 1.2 is estimated at 2h and 1.2 at 3h so the story should be automatically added to 5h and whenever I add any subtask with estimates, the parent should be get automatically updated.   

I have looked for some solution and it works if the estimation format is Story Point but I'm using original hours estimates format. 

Any help in this regard would be highly appreciated. Thanks. 

2 answers

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Champion
April 21, 2022

Hello @Hizkeel Khan 

Welcome to the community.

Can you show us what you have tried, and tell us where and how that is failing?

Hizkeel Khan
Contributor
April 21, 2022

Hey @Trudy Claspill - Thank you for your reply. I was able to solve the problem and achieve what I was looking for. This is what I did. 

sub-tasks sum.png

Now, whenever I create a new sub-task and assign original hours, the parent issues get updated automatically. 

uttam kumar bhatta August 8, 2022

Is it giving correct sum up at parent issue level?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 8, 2022

Yes, it will.

uttam kumar bhatta August 8, 2022

In a story 2 subtasks are there. I am giving original estimates for task1 as 7 hr and other tasks as 2d 5 hr. I am expecting story's original estimate field should be updated with 3d 4 hr or equivalent time in hours. However it is giving me in Week or sometimes in years. I am using the rule as shown below. can you please help on this? 

Where is the formula going wrong?

subtaskssum.png

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 8, 2022

Why are you dividing the numbers by 60?

All the duration fields hold the same type of number (milliseconds) so there's no need to try to convert to minutes or hours.

uttam kumar bhatta August 8, 2022

I removed and tried, still no luck. If anyone has working rule, can you pls share?

Trudy Claspill
Community Champion
August 8, 2022

@uttam kumar bhatta 

What are you global settings for Time Tracking?

These can be managed by a Jira Administrator by going to the gear icon and selecting Issues > Time Tracking.

Can you provide details of actual time in issues that are being summed up and the actual value you get from the automation?

uttam kumar bhatta August 9, 2022

Thanks @Trudy Claspill , I resolved it.

Trudy Claspill
Community Champion
August 9, 2022

@uttam kumar bhatta 

Can you post your solution so that others may benefit from what you learned?

Neeraj Patil November 22, 2022

Hey guys,

I have a similar requirement (Adding up Original estimates of Sub-tasks to Story)

I tried the same rule posted here.  But it is not reflecting.

Screenshot 2022-11-22 at 1.44.06 PM.png

Any help appreciated.

 

I tried the below rule too: 

{{issue.subtasks.Original estimate.sum}} 

 

Regards,

Neeraj

Trudy Claspill
Community Champion
November 22, 2022

@Neeraj Patil 

What do you mean by "it is not reflecting"?

Is the rule getting executed? Check the Audit Log to confirm that the rule is getting executed.

If the rule is getting executed, what messages are being shown in the Audit Log for the execution?

What are the values in your subtasks?

What value is being set in the parent?

0 votes
Erik Avetisyan May 30, 2024

Hello everyone

Please advise 
I want to combine subtasks estimation hours into User Story original estimation, but I can not find that specific. rule to operate it

Trudy Claspill
Community Champion
May 30, 2024

Hello @Erik Avetisyan 

Welcome to the Atlassian community.

Have you created the rule as shown in the answers on this post?

If so, how is that not working for you?

Also, the original post is almost 2 years old, and the only people that have seen you addition to it are the original author and the people who responded to it. To ensure your question is seen by the wider Community and more likely to get responses from more people, please start a new Question post.

Erik Avetisyan May 30, 2024

I have created the rule

but it gives wrong result

for example the summary of my subtasks is 23 hours

it shows up 3 weeks 2 days for user story

Trudy Claspill
Community Champion
May 30, 2024

Hello @Erik Avetisyan 

Please start a brand new Question to get additional help. In that question:

1. Provide screen images that show your complete Automation Rule and the details of each step in the rule.

2. The details of the estimate amounts in the subtasks.

3. The output of the Audit Log for the rule execution.

Suggest an answer

Log in or Sign up to answer