Sub-tasks original estimate sum to main story original estimate

Hizkeel Khan
Contributor
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. 

3 answers

2 votes
Y Dang_Candylio
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
Contributor
August 23, 2023

@Y Dang_Candylio - 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
Vadym Kazachkov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 5, 2024

@Batsheva I Could you please show the details of "IF"-step condition? (like you publish it for that step) 


_Jira-1.png

0 votes
Batsheva I
Contributor
March 4, 2024

Thanks @Y Dang_Candylio

This solution works perfectly for us

 

Zahlan Shafeer April 1, 2024

Hi @Y Dang_Candylio @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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 3, 2024

me too...

Could you please help

Batsheva I
Contributor
April 10, 2024

This worked for me:
image.png

Like # people like this
Batsheva I
Contributor
July 8, 2024

The only difference I see between our versions is that I used an "IF" for the comparison and you used the "Issue fields condition", but that shouldn't matter.


Like Y Dang_Candylio likes this

Suggest an answer

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

Atlassian Community Events