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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Marketplace Apps & Integrations

Do Not Lose your Customer’s Trust

Missing deadlines is one of the biggest problems every team lead wants to avoid when dealing with managed services. When the customer contracts your company to help with IT services it is expected th...

24 views 0 0
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