I have some automation which seemed to work for a while doing the below. The issue that seems to be happening now is that the automation keeps cycling as it's seeing the remaining estimate field updating and then running again.
WHEN
value changes for time tracking for edit issue
IF
{{timetracking.timespent}} does not equal Empty
THEN
edit remaining estimate -
{{#=}} ({{fieldChange.to}} - {{triggerIssue.fields.timetracking.timeSpentSeconds|0}})/60{{/}}m
Example of the cycling issue we're now seeing
