Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Create Service Desk ticket with Insight objects via REST API

Edited

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
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

717 views 7 24
Read article

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