Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Date/Time Error: (Operation value must be a string (customfield_10153))

ryan.zore
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 4, 2022

I have created a rule to compare a dropdown field and assign a date {{now.plusDays(14)}} to a Date Picker field and am getting an (Operation value must be a string (customfield_10153)) error when the rule runs. 

1 answer

0 votes
Trudy Claspill
Community Champion
October 4, 2022

Hello @ryan.zore 

is customfield_10153 the Date Picker field to which you are trying to assign a value?

Have you used the Log Action action to see what value you actually get when you use {{now.plusDays(14)}} ? 

Can you show us the entire rule and the details of the component where you are trying to assign the value?

ryan.zore
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 4, 2022

Hello @Trudy Claspill thank you for your reply.  I wasnt able to get the debug command to work properly but have attached screenshots for your review.  

Also, the custom field ID is 

"customfield_10191":"SLA Due Date"Jira Rule.pngScreen Shot 2022-10-04 at 1.55.59 PM.pngScreen Shot 2022-10-04 at 1.51.44 PM.pngScreen Shot 2022-10-04 at 1.51.30 PM.png
Trudy Claspill
Community Champion
October 4, 2022

Your rule indicates you are editing two fields; "SLA Due Date" and "Advanced". What is the "Advanced" field?

The error message in the log is referencing customfield_10153. What is that field? Is that the "Advanced" field?

This is what the Log Action action needs to look like to log the value to the rule Audit Log.

Screen Shot 2022-10-04 at 12.11.33 PM.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events