Atlassian Account ID Lookup for Regular Users

Mathew Lederman
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.
March 3, 2025

How are regular users supposed to align an Atlassian Account ID with an actual user (email address) since the API only returns the Account ID for some user-picker fields?

1 answer

0 votes
David Bakkers
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.
March 3, 2025

Hello @Mathew Lederman 

This is a frequently asked question. Essentially, you can't unless that user has enabled their email address to be public in their profile settings. It's to comply with GDPR law, and this is why it says this in the REST API documentation:

Privacy controls are applied to the response based on the user's preferences. This could mean, for example, that the user's email address is hidden. See the Profile visibility overview for more details.

Google 'jira cloud rest api get user's email' or search this forum for similar phrases to see the hundreds, possibly thousands, of times the topic has already been discussed.

Mathew Lederman
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.
March 3, 2025

That's the answer I expected, but was hoping somebody had found a proper solution to Atlassian's poor attempt at meeting GDPR.

Do you know what level of permissions are required to see user details? Is site-admin sufficient? Or do they need org admin permissions?

David Bakkers
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.
March 3, 2025

The answer is still no for 'general' user accounts that use personal email addresses. No level of permission allows anyone, even an Org Admin, to override an individual's right to privacy for their personal email address.

Only if your organisation is using Managed Accounts can your Org Admin sets a policy that all users have their privacy settings to allow everyone in their organisation to read their email address. This makes sense, because, in that situation users are logging in with their organisation's email address, not their private, personal email address.

Read the Profile visibility overview for more details

Google this topic. All the questions you're asking have been asked a bazillion times before and the answers are fairly well documented.

Have fun.

Suggest an answer

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

Atlassian Community Events