Forums

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

Access timetracking.originalEstimateSeconds with Automation

Antoine [Klee Group]
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 14, 2023

Hello,

I am making an automation that updates the original/remaining estimate of epic issues based on their child issues.

 

All works fine but it seems like I can only edit the timetracking.originalEstimate and remainingEstimate values of the timetracking field.

"timetracking": {"originalEstimate": "1d","remainingEstimate": "0.5d","originalEstimateSeconds": 28800,"remainingEstimateSeconds": 14400}

It's a shame because it makes it mandatory to make some weird computations (dividing by 60m * 60s * 8h), that do not make the process keen to change. What if the "working hours per day" change for example?

Therefore why isn't it possible to compute everything in seconds and send seconds to the field?

I did not find this anywhere.

Otherwise, is there a function to convert seconds to a "worklog entry". So basically some method that would act like such: issue.<some number field>.toworklogentry --> output is "1h 1m" assuming the field contains a number of seconds being 3660.

 

Thanks.

0 answers

Suggest an answer

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

Atlassian Community Events