Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-3853

JSON formattage to add customer request Type custom field when creating via JIRA REST API

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

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

      Hi everybody,

      When I use JIRA REST APi to create an simple issue, everything works fine.

      I'm facing a problem when I add to my json request a custom field (Customer request type) "customfield_10025" :

      • I got a 400 error : "value of operation has to be a chain" ....

      Here is my json request :

      {
      "update": {},
      "fields": {
      "project":

      { "id": "10400" }

      ,
      "summary": "bla bla",
      "issuetype":

      { "id": "10201" }

      ,
      "priority":

      { "id": "3" }

      ,
      "description": "bla bla",

      "customfield_10202":

      { "id": "10100" }

      ,
      "customfield_10203": {
      "id": "10102",
      "child":

      { "id": "10103" }

      },
      "customfield_10025": {
      "requestType":

      { "id": "57" }

      }
      }
      }

      Can you help me to get the good syntax ?

      Many thanks

        1. Selection_026.png
          Selection_026.png
          21 kB
        2. Selection_025.png
          Selection_025.png
          44 kB
        3. Selection_024.png
          Selection_024.png
          15 kB

              Unassigned Unassigned
              8c14bbdc483c Adrien ESPIGUE
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: