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

This widget could not be displayed.

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 widget could not be displayed.

This is the create issue api call: Snippet


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

141 views 16 7
Join discussion

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