Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Copy Sum Original Estimate into the Original Estimate Field

Gor Greyan
Contributor
July 4, 2024

Hi Dear Colleagues.

I need to copy Sum Original Estimate into the Original Estimate field via Automation.

Please help me!image.pngimage.png

2 answers

1 accepted

0 votes
Answer accepted
Duc Thang TRAN
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.
July 4, 2024

Hello @Gor Greyan 

Technically, you can do it using this smart value. {{issue.subtasks.original estimate.sum}}

You need to test the value in a log action to see what unit of time your Jira instance is using.

For this case of CAS- 55832 , If it shows 3600, you need to use a math expression with the smart value.

 

{{#=}}{{issue.subtasks.original estimate.sum}} / 3600{{/}}

 As you can see in your first screenshot, your parent ticket has the "Include Subtasks" option checked, so if you add the sum of the original estimates of subtasks to this parent, it will double the value.

Hope this can help you 

Gor Greyan
Contributor
July 8, 2024

Hi, Dear @Duc Thang TRAN

Thanks for your response.

Please inform me, is there any way to copy it without doubling the value?

I need to keep the estimated time in the original estimate field, without doubling it.

Duc Thang TRAN
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.
July 10, 2024

Hello @Gor Greyan 

As you see in your first screen, the "Include Subtasks" option is checked for this ticket.
The calculation is: Original estimated Parent + sum of original estimated child, which in this case is: 0 + 1h.

If you make a modification, you need to uncheck this option; otherwise, you will see 2h if the automation launches correctly

2024-07-10 16_38_18-Window.png

Gor Greyan
Contributor
July 15, 2024

Dear @Duc Thang TRAN ,
Very thanks for the help.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events