It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

set multicheckboxs value using jira rest api

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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you