I am creating automation in Jira (cloud) on a company-managed software to find the time to resolution. I need to list in a field on the issue how long it takes for the issue to go from created to resolved. The result needs to be listed in Days, Hours, Minutes.
Here is what I have tried (I can get a total number of hours or a total number of days but not a combination of the 3 that I need).
{{issue.created.diff(issue.resolutiondate).hours}}
I have tried using the following custom field types: Text Field (single line), Date Time Picker, Number Field.
I read something about prettyPrint will display the difference in words but I can't get it to work.