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
Nic Brough -Adaptavist-
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.
May 24, 2018

The REST API doesn't have that function in 7.4.3 and below, you'll need to do it by hand (or upgrade to a version that has it)

Suggest an answer

Log in or Sign up to answer