Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I couldn't able to get the added members email

gomathi gunasekaran
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!
April 14, 2025
I’m working on an integration where I need to retrieve the email addresses of users assigned to a Jira project. Here's what I’ve done so far:

I added a user to a Jira project via the Jira UI.

Then, I used the following API to get the list of assignable users for that project:
GET /rest/api/3/user/assignable/search?project=PROJECT_KEY
I received the list of assignable users successfully, including their accountId, displayName, etc.

However, the email address is missing from the response.

I also tried using this endpoint:
GET /rest/api/3/user/email?accountId=USER_ACCOUNT_ID
But I received the following error:
Client must be authenticated to access this resource.

I will attach a sample response that i have got:


{ "users": [ { "self": "https://api.atlassian.com/ex/jira/54aa4b0c-28b9-4e6f-85a7-8bab255d53df/rest/api/3/user?accountId=712020:b2dbc8a5-dd0f-42d8-a263-28525c35a878", "accountId": "712020:b2dbc8a5-dd0f-42d8-a263-28525c35a878", "accountType": "atlassian", "emailAddress": "gomathigunasekaran366@gmail.com", "avatarUrls": { "48x48": "https://secure.gravatar.com/avatar/c8e275d322b92ca38de75ef8806eaede?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGG-3.png", "24x24": "https://secure.gravatar.com/avatar/c8e275d322b92ca38de75ef8806eaede?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGG-3.png", "16x16": "https://secure.gravatar.com/avatar/c8e275d322b92ca38de75ef8806eaede?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGG-3.png", "32x32": "https://secure.gravatar.com/avatar/c8e275d322b92ca38de75ef8806eaede?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGG-3.png" }, "displayName": "gomathi gunasekaran", "active": true, "timeZone": "Asia/Calcutta", "locale": "en_GB" }, { "self": "https://api.atlassian.com/ex/jira/54aa4b0c-28b9-4e6f-85a7-8bab255d53df/rest/api/3/user?accountId=712020:07267ce2-1b7d-453a-b84b-5a3605a1dfe9", "accountId": "712020:07267ce2-1b7d-453a-b84b-5a3605a1dfe9", "accountType": "atlassian", "emailAddress": "", "avatarUrls": { "48x48": "https://secure.gravatar.com/avatar/53716e0bdc43768953b991da4b0bd558?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGG-0.png", "24x24": "https://secure.gravatar.com/avatar/53716e0bdc43768953b991da4b0bd558?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGG-0.png", "16x16": "https://secure.gravatar.com/avatar/53716e0bdc43768953b991da4b0bd558?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGG-0.png", "32x32": "https://secure.gravatar.com/avatar/53716e0bdc43768953b991da4b0bd558?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FGG-0.png" }, "displayName": "Gomathi Gunasekaran", "active": true, "timeZone": "Asia/Calcutta", "locale": "en_GB" } ] }

1 answer

1 vote
Karan Sachdev
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 14, 2025

Hello @gomathi gunasekaran

 

Welcome to Atlassian Community!

Each user can set their email visibility under their profile settings here: https://id.atlassian.com/manage-profile/profile-and-visibility

If they select "Anyone" in the email visibility, then the API response will contain the email address. This is a user account setting and admins can't control this.

This is also stated in the API documentation:

2025-04-14_18-52-45.png

 

I hope this helps...

Thanks!!

 

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