I have 2 fields Due date and Modified Due date. I want to get the difference between these two dates in days.
I tried the following formula:
{{[issue.Due date.diff(issue.Modified Due date).days}}
Then I tried even the Field ID:
{{[issue.Due date.diff(issue.customfield_10837).days}}
But that still does not work, The rule runs successfully but the field Lag time is never updated with value.
Can you copy the calculation in smart variable and then use that smart variable to update the issue? i think it should help resolve the issue.
Also there looks to be an extra [ bracket before Issue. That is not needed
Share your audit log as well
Thanks man, there was an extra bracket :D
{{issue.Due date.diff(issue.modifiedDueDate).days}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if this worked for you, please accept the answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.