Unable to Create a Customer Request via Service Desk REST API

I'm working with JIRA service desk on a cloud instance, and I'm unable to create customer requests using the REST API.  Creating via the interface works without issue.

The body of my POST looks like this:

  "raiseOnBehalfOf": "myuser",
  "requestFieldValues": {
  	"summary": "test",
  	"description": "test"
  "requestTypeId": "1",
  "serviceDeskId": "SDID"

I've also tried with the "requestParticipants" field.  No matter what I try, I always get the same result:

HTTP 400 

  "errorMessage": "This request is invalid. Check that the request contains all the required parameters and that the parameters are valid.",
  "i18nErrorMessage": {
    "i18nKey": "sd.rest.error.bad.request",
    "parameters": []

What could I be doing wrong?  I've tried every combination of parameters that I can think of.

2 answers

0 votes

Hello Ben, the error 400 indicates that:

400 Bad Request schema

Returned if the HTTP request call is invalid.

You can see this on the documentation for Service Desk APIs: https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-request-post.

What is the call that you're trying? Make sure to follow:



Also make sure that your user is a customer on the project. 

This is the create issue api call: Snippet


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

Administrators Cleanup

Good morning, After a long weekend cleaning up, I am still in the cleanup mode 😊. I am curious to know: When do you feel the urgency to cleanup your Atlassian Tools? How many times do y...

21 views 0 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you