Hi
I want to calculate the amount of time between certain workflow statuses and for the result to be in hours with 2 decimal places.
For testing I am taking the minutes since creation, dividing by 60 and putting this in a variable called hours:
{{#=}}{{now.diff(issue.created).minutes.abs}} / 60{{/}}
The variable is fine and prints to the log as {{hours}}
But I can't get the formatting to work. I tried {{hours.format("###.##")}} following the answer in this question but that produces no output at all. Any tips welcome, thanks!