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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,551,726
Community Members
 
Community Events
184
Community Groups

Unable to get users emails from rest API

Is there a way to get an email of a user (by account id) or email of all users via rest API (https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-users-search-get or https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-user-get)?

In the example of https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-user-get it shows that email address field is returned, however when I execute it there is no such field.

We use Jira Cloud and access it via basic authentication by using a user access token.

 

We have a script which looks at the comments and gets some information and we require to get email addresses of the users to be able to match them to our systems.

 

Would love to receive some help on this!

1 answer

1 accepted

0 votes
Answer accepted
Warren
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.
Feb 14, 2020

Hi @igor 

Some changes were made last year, for privacy reasons, which removed certain details that used to come back from API calls. E-mail address is one of them, so I don't think you'll be able to easily get it.

Each Jira user can set up, via their profile, the visibility of their details. Go to this link and at the bottom is how your e-mail address is visible to others. By default, you shouldn't be able to see e-mail address - see below

 

Screenshot_2.jpg

Thanks for the information. It would be useful if the admins could control this information and also have maybe another level of visibility: everyone on the team is able to see the email to be less visible than everyone.

Agreed with @igor ... any more information or development on that?

Warren
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.
Jul 07, 2020

Hi @Yatish Madhav and @igor 

Please realise that I don't work for Atlassian, I'm just one of the many Jira users around the world who contribute to answering questions on Community.

So ... I have no influence with Atlassian. If this is something that you feel needs to be changed, you'll need to raise it directly with them unfortunately.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events