Hi all, I need to do an automation that when I change the date of a custom field, it adds 2 days to the "due date".
The custom fiel is called: "Final Solution Date", I thought it was enough:
{{Final Solution Date.plusDays(2)}}
It doesn't work, though.
How can I do it?
Thanks
Hello @Mattia Battan
To provide assistance to you on an Automation Rule there are a few things that we need:
With that information we will be better able to suggest fixes.
Thank you very much for the very quick response.
This is the automation, very simple, however it doesn't let me save it.
The error I think is really on the smart value which is not allowed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are two problems I see in this step, only one of which is highlighted.
First, the issue that is not highlighted is that you are using an incorrect smart value to set the Due date field. It needs to be:
{{issue.Final Solution Date.plusDays(2)}}
Second, the problem that is highlighted is this:
Jira is telling you that "Custom Field Name" is not a valid name for a field. What is the actual name of the field you want to set? Is it really "Custom Field Name" or is it something else?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, and...to Trudy's answer:
Smart values are name, spacing, and case-sensitive, and sometimes they do not match the displayed name of the field on the issue views.
To confirm you identify the correct smart value for your field, Final Solution Date, please try the steps in this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I solved it by adding "issue." in front of the custom field name.
Thank you very much
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mattia,
If our responses helped you solve your issue please consider clicking the Answer Accepted button. That will mark you post as Solved, and help others searching for help find the posts with validated solutions.
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.