How to create Service desk customer using Jira rest api

kasun January 26, 2015

I need to create Jira customers via Jira Rest Api. 

7 answers

1 accepted

0 votes
Answer accepted
Justin Alex Paramanandan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 12, 2016

There is a new, experimental Service Desk REST method that allows you to create customers:

{
    "email": "fred@example.com",
    "fullName": "Fred F. User"
}

Remember to use X-ExperimentalApi : opt-in as part of the request header. smile

Taras Matsyk December 27, 2016

Justin,

 

I am trying to create a customer using this experimental method and have no success with it.

Neither "X-ExperimentalApi : true" nor "X-ExperimentalApi : opt-in" helps and Service Desk still returns 404.

The method:

https://docs.atlassian.com/jira-servicedesk/REST/cloud/#servicedeskapi/customer-createCustomer

e

 Here is a screenshot of Postman request. Everything looks fine according to the documentation.
(localhost:8080 - is a local JIRA Service Desk trial instance) 

Screen Shot 2016-12-27 at 1.43.18 PM.png

Taras Matsyk December 27, 2016

JIRA v7.2.6

JIRA Service Desk Application v3.2.6

Mauro José Pappaterra August 4, 2018

true should be a string "true"

0 votes
Dhanraj Rathinam November 25, 2018

Hey All,

I try with that API but while creating a new customer in response there is a field called "KEY" which bound an alphanumeric value, not an email id.

Can anyone help me out?Screen Shot 2018-11-25 at 5.36.47 PM.png

0 votes
Lex Talionis June 23, 2016

Can this please be a thing?

0 votes
Tintu C Raju February 11, 2016

I would also like to know this.

0 votes
IT Services December 24, 2015

I would like to know this as well

0 votes
David Kurt March 18, 2015

Would be great for me too.

0 votes
Chris Griffin February 6, 2015

I'd be interested in doing this as well.

Suggest an answer

Log in or Sign up to answer