This is my first automation using smart time values; I want to create an automation to calculate time logged as the difference between when the issue is created and when it is closed. Background - these are typically 5-10 minutes tasks. So, the trigger is when the issue is transitioned to Done:
Date started: {{issue.created}}
Time spent: {{now.diff(issue.created).minutes}}
Work description: Completed {{issue.key}}
Wheat am I doing wrong here? Thanks.