Sub-tasks original estimate sum to main story original estimate

Hizkeel Khan August 23, 2023

Hi,

I hop everyone is fine. I have created two custom fields for QA estimates and Dev Estimates. When I enter the values in these custom fields, it shows the of these two fields in Original Estimates. This works fine for me.

The problem occurs when I create sub-tasks under the story. For e.g. I have created two sub-tasks like 3.1 and 3.2 under the main story Test 3 ....both of these sub-tasks have custom fields and when I enter values in these custom fields it updates the original estimates accordingly. 

I want those sub-tasks original estimates fields to sum up and show the updated value in the story original estimates. 

Let me show you the SS of my main story and sub-tasks 

story OE.png

This is my story and it contains 2 subtasks. 

sub task 1.png
Here is my sub-task 1 with original estimate showing the sum of custom fields QA Estimation and Dev Estimates which is perfectly fine. 

sub task 2.png
Here is my sub-task 2 showing original estimate of 2h ...1 hour each from custom fields. 

Now my total sum from these sub-tasks is 7 hours. I want these 7 hours to reflect in the original estimate of the main story. 

I want to do it through automation if possible. Please, Anyone?

This will be a great help if anyone provided me with the solution. Thanks. 

2 answers

1 vote
Y Dang
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 23, 2023

Hi @Hizkeel Khan

You can try to use this automation rule:

- When: value change for Time Tracking

- If: issue type is subtask

- For: Parent

      Edit issue fields Original Estimate (smart value: {{#=}}{{issue.subtasks.original estimate.sum}} / 60{{/}})

chrome_68z4wvfpKq.pngI hope this helps!

Let me know if you have any other questions.

 

Regards, 

Y Dang

Hizkeel Khan August 23, 2023

@Y Dang - Thank you for your reply but it doesn't solve my problem. Maybe I didn't explain my problem clearly. I am using number custom fields in the sub-tasks. Also, I have changed the default unit for time tracking to hours. default - hour.png

Also, field value should be either QA estimation or QA estimates that changes and not time tracking. 
Maybe we need to adjust the formula like don't enter 60 in the formula, I don't know. Please let me know if you have completely understood my problem.

0 votes
Batsheva I March 4, 2024

Thanks @Y Dang

This solution works perfectly for us

 

Zahlan Shafeer April 1, 2024

Hi @Y Dang @Batsheva I , I tried your solution but it's not working for me. Getting an error. Could you please help

sa.jpeg

Selected April 01 2024 2_29_45 PM.jpg

Like Richtarcsik zsolt likes this
Richtarcsik zsolt April 3, 2024

me too...

Could you please help

Batsheva I April 10, 2024

This worked for me:
image.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events