The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Create a Customer via Web Request / REST API

Hannes
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 Champions.
November 5, 2022

Hi Community,

I'm trying to create a customer via REST API. I've just copied in a first step the example provided here:

https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-customer/

The only things I change is the web request url to:

https://CUSTOMER.atlassian.net/jira/servicedesk/projects/MULTITS/customers

and inside the CURL the url to 

https://CUSTOMER.atlassian.net/rest/servicedeskapi/customer

 

But when I execute the Call I just receive 200 without creation of this dummy user. What am I doing wrong?

Thanks a lot!

Hannes

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Alex Koxaras -Relational-
Community Champion
November 6, 2022

Hi @Hannes 

If your response is 201, then you should probably take a look inside the admin panel, and under "Portal Customers". I did try to create a customer, and since you don't specific state a SD, then the customer will be placed as a Portal Only Customer.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events