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.