Hi,
I have a Jira automation in which I create a variable that calculates the time difference between 'issue.created' and 'issue.resolutiondate' to provide me with the "Time to Resolution" in hours and days respectively. Here is what it currently looks like:
{{issue.created.diff(issue.resolutiondate).hours}}
{{issue.created.diff(issue.resolutiondate).days}}
This is working fine, but I noticed that when the time to resolution is less than 24 hours, the time to resolution in days is just 0.
I would like to adjust the above code so that the output uses 2 decimal places, e.g. 0.25.
I've went through the smart value documentation but wasn't able to find any formatting for decimal places.
Thanks for your help.