Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

/user/search API does not return emailAddress field



One of our customers - Next Insurance, has integrated with us and we're trying to fetch all users in their Jira. 

We use this endpoint to fetch the users, but for this customer, the emailAddress field is coming up as an empty string.  

Can you help me find out why that might be happening? 

Here's the curl request: 

curl --location --request GET '' \
--header 'Authorization: <redacted>'


2 answers

0 votes

Hello @Jagadeesh Kumar,

Thank you for reaching out to the Atlassian Community!

The behavior you are experiencing is expected.

If the user selects the option “Only you and admins”, it’s expected that the API won’t return their email address, even if it’s an administrator using the API, but as an administrator, you will be able to view their email address via user management on the UI.

There is a feature request suggesting improvements for that:

Please, click on vote and also watch the ticket above to receive updates from our product managers.

Kind regards,

0 votes

Hello Nitin,

Thank you for reaching out to Atlassian Community!

Since the Atlassian account was introduced some years ago, administrators can't manage users' accounts anymore. 

With that said, users can choose if they want to let their profile picture, full name, email address and other information as public or private.

I tested the API using my local site and if the user set the email as private (only you and admins), it won't show when using the API, that's why the emailAddress show empty.

To fix this, the user must go to and set the email visibility to Anyone.

Screen Shot 2020-03-06 at 15.08.54.png


Hello @Angélica Luz 

We are facing the same issue at our end. API returns email address in the response when visibility is set to 'Anyone'.

However, when set to 'Only you and admins', despite fetching user information via REST API using admin credentials, email address is missed out in the response & it is misleading.

Appreciate your valuable thoughts / suggestions. Thank you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

159 views 1 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you