Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Why there is no Rest API for getting the 'accountID' by email address of the customer?

Ima Najeeb
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 9, 2019

I don't want to try it with username as usernames can be same.

Also, In my problem, I am initially having customer's name and email address only, and then want to check if it already exists in my JIRA service desk or not. 

Please tell me how to do it so that I can get accountID of existing customer and then can create a new issue on his part?

1 answer

0 votes
Achala Dias
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 12, 2020

you can use the query to filter any specific user.

https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-customer-get

 

example: 

https://<your-org>.atlassian.net/rest/servicedeskapi/servicedesk/1/customer?query=testuser@gmail.com

this will return all records if there any user with an email address "testuser@gmail.com

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events