I have what should be a simple date calculation automation task that I can't seem to get working.
The fields in question are Date of Review and Expiration Date.
The rule is set to trigger when Date of Review changes and then Expiration Date changes to Date of Review plus 2 years.
The SmartValue I have written that doesn't work is:
{{issue.Date of Review.plusYears(2)}}
When this executes it clears whatever is currently populated in Expiration Date.
I changed it to use the custom value field also to try:
{{issue.cf[17889].plusYears(2)}}
That does the same thing. If I change the Reference field it works though. So:
{{issue.Created.plusYears(2)}}
Successfully changes the date in Expiration Date to the Created date plus 2 years.
Can anyone tell me why the field Date of Review would cause this problem?
I would post screenshots, but our Jira server is on a separate network not connected to the wider internet.
Hi @Jeremy Jedlicka
Please confirm the ID of ypur custom fields and try:
{{issue.customfield_17889.plusYears(2)}}
If that doesn't work could you share your audit log please?
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.