Forums

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

How to get a customers list?

Andrea Italiano October 9, 2024

Hi there!

I need to retrieve a list of customers (not users) within a specific project. I will receive requests from customers from outside and before open a ticket I need to check if it is a customer included in the list. In my project I use Java. Can anyone help me?

1 answer

1 accepted

1 vote
Answer accepted
Ashok Shembde
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 9, 2024

Hi @Andrea Italiano 

Welcome to the Atlassian Community!

You can use the Jira Service Management REST API to retrieve information about customers associated with a project. The endpoint you'd use for this purpose is rest/servicedeskapi/servicedesk/{serviceDeskId}/customer.

Andrea Italiano October 9, 2024

Hi @Ashok Shembde

Thank you for you answer.

Do you have some example in java or could you tell me which dependency i can use in order to get a customers list?

Where can I find the serviceDeskId? Is serviceDeskId the same as projectKey?

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events