I am trying to create an issue using Rest API in Jira Service Desk Project. My script is working fine If I don't use the MultiSelect List field in it. However, it fails when try to create issue with the MultiSelect Custom Field.
"customfield_11320": { "[{"value": "121"},{"value": "129"}]" }
Error:
{"message":"Unexpected character ('v' (code 118)): was expecting comma to separate OBJECT entries\n at [Source: org.apache.catalina.connector.CoyoteInputStream@7198ba04; line: 51, column: 28]","status-code":500,"stack-trace":""}
Can you please help me with what is wrong with this?
Hosting Environment: Atlassian Cloud
I have found the solution on my own. Here is a reference for the people who may encounter a similar issue in the future.
"customfield_11320": [ {"value": "121"}, {"value": "145"} ],
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.