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

Retrieving all customers (including private email)

gijs_kruize
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!
September 25, 2024

Dear Community,

I have been tasked to automate creation of customers in our Service Desk Management.

After some research I started using the Servicedesk API from which i can correctly all customers of our servicedesks. The only problem there is is that some emailAdress fields are empty since these users have their email visability on only me and admins.

After making the same user that is used as credentials for the Servicedesk API Organization admin on the organization SDM lives on. I still could not see users' emailAdress (and yes i have verified that this user can see all users' email adresses under atlassian admin > organization > directory)

I have tried all admin API's but i never succeseeded in getting the users via atlassian admin.

So my final question is, is there a way to make all email adresses visable in the Servicedesk API? or what endpoint can i use to get the users from the Admin API

Thanks in advance

1 answer

0 votes
Vijay Dadi
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.
September 25, 2024

Hello @gijs_kruize ,

You can search the Atlassian user using the api

http://xxx.atlassian.net/rest/api/user/search?query={{emaill address}.

Hope this helps,

Vijay

gijs_kruize
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!
September 25, 2024

The whole point is that i am not able to get a List of users including email adresses from the admin api. I also cannot search on email since i cannot retrieve the email adresses via the servicedesk api

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Service Management Events