Hi everyone,
I have a simple formula to get a diff between dates, but it does not seem to be working (no change history even is triggered for updating the Estimated delay field). I am storing the result into a text field.
Formula:
{{issue.customfield_10088.diff(issue.customfield_10352).days}}
issue.customfield_10088 -> {"start":"2025-01-31","end":"2025-01-31"}
issue.customfield_10352 -> {"start":"2024-12-11","end":"2025-12-11"}
I tried also {{issue.customfield_10088.toDate.diff(issue.customfield_10352.toDate).days}}, but same result.
Is this an issue in JPD or am I doing something wrong?
Thanks, Miroslav
Hi @Miroslav Kralik ,
Take a look my suggestion on this other JPD Community Question, which provides an automation to calculate the date differential, and enter it into a number-field.
Hi Nick, thank you. With the variables, it works!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Would the IF condition {{smart values}} condition work for you?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried that and the IF condition works, but no updates to the Estimated delay field.
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.