set multicheckboxs value using jira rest api

Manu... November 26, 2019

Hi,

 

I am trying to set the value for my custom field using REST API, however i am getting "

{"errorMessages":["Can not deserialize instance of java.util.ArrayList out of START_OBJECT token\n at [Source: org.apache.catalina.connector.CoyoteInputStream@2ab6b408]"

 

Transaction Flow looks like ---

"customfield_13228": {
"allowedValues": [
{
"id": "15653",
"value": "abc"
}
],
"name": "Rohit",
"operations": [
"add",
"set",
"remove"
],
"required": false,
"schema": {
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes",
"customId": 13228,
"items": "option",
"type": "array"
}
},

---------

Json file 

{
"update": {
"customfield_13228": {"set": [{"id": "15653"}]},
}
}

 

Any help will be highly appreciated.

0 answers

Suggest an answer

Log in or Sign up to answer