Create Service Desk ticket with Insight objects via REST API

Tomáš Vrabec March 2, 2020

Hello everyone,

one of my customers run into the troubles with 3rd party company integrating IDM into their Jira.

They need to create a JSD ticket thru REST.

There are mandatory JSD fields, which are Insight object type.

They are executing code via https://jirainstance.com/rest/servicedeskapi/request:

 {
 "serviceDeskId": "2",
 "requestTypeId": "43",
 "requestFieldValues": {
  "customfield_10401": {
  "value": "TEST Service User"
  },
   "customfield_10644": {
    "id": "10458"
   },
  "customfield_10646": "business justification test",
"customfield_10218": [ {
"id": "XXXX (APP-69986)"
} ]
 }
}

but they are getting back 

{
    "errorMessage": "Your request could not be created. Please check the fields have been correctly filled in. Please provide a value for required field 'Requested for' Please provide a value for required field 'Application'",
    "i18nErrorMessage": {
        "i18nKey": "sd.validation.request.creation.failure.required.field",
        "parameters": [
            "Please provide a value for required field 'Requested for' Please provide a value for required field 'Application'"
        ]
    }
}

When they try the exact same call, but for Jira REST url, it works. 

I was unable to find documentation within Insight docs, could you guide us?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events