Forums

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

Issues writing to Custom Date Field in JPD

Emily Nash June 3, 2025

I'm having an issue in my attempts to set my JPD date field of Release Date to today/now.

I've tried the following JSON queries and have received the following error messages.  Can anyone help me troubleshoot my error messages and/or able to offer any guidance? Jira AI support has been no help. :/ Thank you!

I've had to post a picture because the Jira form won't event accept my code to ask about it... JPDerror.png

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 3, 2025

Hi @Emily Nash 

Although the JPD date format looks like JSON, it is actually a text string which represents JSON.  Please try this in your advanced edit:

{
"fields": {
"customfield_11767": "{\"start\":\"{{now.jiraDate}}\",\"end\":\"{{now.jiraDate}}\"}"
}
}

Going the other direction to read the date values, please try the new jsonStringToObject() function:

{{jsonStringToObject(issue.customfield_11767).start}}

 

Kind regards,
Bill

Emily Nash June 4, 2025

@Bill Sheboy omg. It finally worked. THANK YOU SO MUCH!! 

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events