Hi everybody,
In a JIRA Automation rule, I create intermediate variables to work and manipulate dates comming from custom fields. However, I find it impossible to use the date functions (as .diff for example) with these variables.
For example, something like {{mydate2.diff(mydate1).days}} returns a null value. I checked the value of mydate1 and mydate2 with a log just above, to be sure these variables are well filled.
I also tried to recast these variables as dates to be sure to work on dates, as mentionned in the documentation: mydate1 = {{mydate1.toDate}} and mydate2 = {{mydate2.toDate}}, but this changes nothing.
Is there any known issue with this? Any tips?
Thanks
Cédric