Jira REST API - Need Help to Update Check Box / RadioButton / Select List JSON format incorrect

XMLWordPrintable

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Hi Guys

      Need help with the JSON to update field type (either one)
      Check Box
      Radio Button
      Select List

      I had been following the instructions from: https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+Create+Issue#JIRARESTAPIExample-CreateIssue-MultiSelect

      Everything worked except the updates to the above field types.

      Here are 3 custom field:
      Multi Checkboxes : customfield_19701
      Radio Buttons : customfield_19702
      Select List : customfield_19703

      Issue the follow JSON through REST API. All the other fields I need updating (Number, Date, Text) worked except for the above field types.

      {"update":{"customfield_19703":

      {"value":"Y"}

      }}

      What is wrong with this update command? This is because the REST API keeps getting 400 response.
      Can you please let me know what I should be issuing to get this JSON updating the field correctly.

      THanks

            Assignee:
            Unassigned
            Reporter:
            Carolyn Teo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: