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,463,735
Community Members
 
Community Events
176
Community Groups

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

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. 

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill Community Leader Apr 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?

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. 

Is it giving correct sum up at parent issue level?

Yes, it will.

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

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.

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

Trudy Claspill Community Leader Aug 08, 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?

Trudy Claspill Community Leader Aug 09, 2022

@uttam kumar bhatta 

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

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 Leader Nov 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?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events