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

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events