I have a datetime picker field called 'Event Started At' with ID 11726.
I want to define a smart value that will calculate the time between now and value of the above field.
In the automation, I added a Create Variable action:
Variable name: DTDuration
Smart value: {{now.diff(issue.customfield_11726).hours.abs}}
This works.
Later I have an Edit Issue action that inserts this variable value into a short text custom field, as a check:
DTD is '{{DTDuration}}'
The result is, as expected:
DTD is '123'
However, if I use this same variable to set a number custom field, the field value remains empty.
I tried to use {{DTDuration.format}}, but the field is still empty.
Any help is appreciated.