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 vote

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 Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

174 views 12 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot