Heelo guys im trying to use datediff with two custom fields and its not working, like on documentation:
{{[date1].diff([date2]).[unit]}}
if i use for example :
{{(issue.Start Date).diff
(issue.End Date)
.days}}
In this way its not working.. im doing something wrong??
Hi @Marco Augusto Santinho Gonçalves
You may just have some misplaced parentheses. Please try this:
{{issue.Start Date.diff(issue.End Date).days}}
If that does not work, please confirm your smart values names for your fields, as those are case-sensitive. One way to confirm the smart values for fields is described in this how-to article:
https://support.atlassian.com/jira-software-cloud/docs/find-the-smart-value-for-a-field/
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.