The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Jira automation -> Additional fields ->Error

Mark J
February 26, 2024

Hi,

I'm trying to create an automated ticket and setting through additional fields some fields but I keep getting an error:

"CREATE ISSUE

Error while parsing additional fields. Not valid JSON."
My code is :
"
{
"fields": {
"Estimated Delivery Date": "{{now.lastBusinessDayOfMonth}}",
"Start date": "{{now.lastBusinessDayOfMonth}}"
}
}
"
I also tried with custom fields exact names (cause the above 2 fields are actually the labels) but with same errors.
But if I use the above code, to manual update an already created ticket, the update works.
I want to use the additional fields for all the updates as I want to create a lot of automated tickets and this way is easier to handle.
Thank you.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Mark J
February 26, 2024

It worked somehow, not sure if there was a syntax error. I'll comeback if that's the case.

TAGS
AUG Leaders

Atlassian Community Events