Hello,
I'm trying making automation (by Jira Automation App) that will set a value on number field based on:
Creation Date [minus] Closing Date
Yet I don't really know how should I make it.
So far my idea was to make a smart value as shown in attached file, but ofc didn't work 
What shall I do to make it work?
{{issue.created