I'm trying to calculate the time to resolution of a ticket in a separate field in order to be able to display it on a dashboard. I'm not interested in a third party plug-in so I'm trying to figure it out using a calculated field.
To get the duration in working hours I'm using:
{{#=}}{issue.created.diff(issue.resolved).businessDays}}*11{{/}} My custom field is a number field. It works, but it's not producing any decimals. Perhaps it won't because I'm using business days?
I tried rounding:
{{#=}}ROUND({issue.created.diff(issue.resolved).businessDays}}*11,2){{/}}but that didn't work.
I tried creating another custom field and used:
{{time to resolution.asNumber.format("##.00")}}but that didn't work either.
Any suggestions?