Forums

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

automation of summing original estimate doesn't work

Youngeun Kim
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!
March 30, 2025

 

{{triggerIssue.parent.subtasks.fields.timetracking.originalEstimateSeconds.sum.divide(60)}}

 

This used to work but it stopped working about 2 weeks ago

 

2 answers

1 vote
Bill Sheboy
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.
March 31, 2025 edited

Hi @Youngeun Kim -- Welcome to the Atlassian Community!

The subtasks smart value is one where the data is looked up just-in-time when used, and it does not include all of the fields, such as time tracking ones.  The same is true for the linkedIssues smart value.  This is by-design and for performance reasons.  If rules did not do that, you could imagine a situation where a single issue pulls in the data for thousands of others!

 

The workaround for your scenario is to explicitly lookup the subtask data using the Lookup Issues action.  For example: 

  • trigger: field changed for time tracking
  • condition: issue type is Subtask
  • branch: to parent
    • action: lookup issues, with JQL of parent = {{issue.key}}
    • action: edit issue, setting the original estimate to
      • {{lookupIssues.timetracking.originalEstimateSeconds.sum.divide(60)}}

 

As you were dividing the seconds by 60 to get minutes, you may need to add the units of measure to the end: m

 

Kind regards,
Bill

0 votes
David Freitez
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.
March 30, 2025

Hi @Youngeun Kim  

Welcome to the Atlassian community.  Can you let us know the result of the Automation Audit Log?  This way we can check if there is an error. Also, it would be good if you share the rule.

Regarding the main point which is summing the Original estimate, you can check the following community question and compare with your approach:

Regards,
David

Youngeun Kim
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!
March 31, 2025

The result is success but Original Estimate did not change.

You can see Automation for Jira has set Original Estimate to 0m even when I set Original Estimate of subtask to 6h.

Screenshot 2025-03-31 at 4.28.10 PM.png Screenshot 2025-03-31 at 4.28.34 PM.png

Screenshot 2025-03-31 at 4.30.02 PM.png

Screenshot 2025-03-31 at 4.31.28 PM.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
atlassian, dance, gamification, badge, razzle dazzle, team '25 anaheim

Earn a one-day badge today and do the Atlazzle Dazzle! 🕺

Today only! Share what you’re the most excited about for Team ‘25 or just dance out the beginning of a new quarter with us.

Comment the post
AUG Leaders

Atlassian Community Events