Forums

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

Updating single select custom field with automation for Jira

Nikki Zavadska _Appfire_
Community Champion
January 5, 2022

Hi 👋 ,

I'm trying to create automation that updates the custom field that I created with an option from that custom field.

 

The JSON I'm using to update is:

{
"fields": {
"customfield_10121": { "value": "b" }
},
}

(I figured this based on the documentation here: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/ 

 

This is how my custom field values look like in the GET issue api:

Screenshot 2022-01-05 at 10.51.20.png

The values that are available in the dropdown for this field are a and b

 

When I run the automation I get the following error:

Error while parsing additional fields. Not valid JSON.

 

I can't see what I'm doing wrong here, I tried many options already but can't figure it out. Did anyone have a similar problem and find a solution?

1 answer

0 votes
Udo Brand
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 Champions.
February 5, 2013

I create in a postfunction of a Create Transition several other Issues (all different regular issue type). In order to achieve this I use the Exocet plugin.

So, I guess you could do something similar in your case. However there is a lot of configuration to do.

Tarun Sapra
Community Champion
February 5, 2013

i am usin' jira 4.4

Udo Brand
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 Champions.
February 5, 2013

Under 4.4 this plugin was named LNIO but I'm not sure if this has the full capability regarding your requirement. But please look for your self.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events