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...
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.