Details
-
Suggestion
-
Resolution: Unresolved
-
88
-
Description
Hi all,
We have a new API available here: https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users/#api-v1-orgs-orgid-users-search-post that returns the user email address regardless of profile visibility setting.
Thanks,
Stefan
Hi all,
This Jira REST API [/rest/api3/users/search](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-users-search-get) is subject to the [profile visibility rules](https://developer.atlassian.com/cloud/jira/platform/profile-visibility).
We understand that site admins can see email addresses via admin.atlassian.com in the UI. I understand why not being able to see email addresses via the Jira REST API is frustrating.
We are working on a new user search API that will be available here: https://developer.atlassian.com/cloud/admin/about/ when it is ready. I don't have a date to share with you yet. This new API will return the user's email address.
Thanks,
Stefan
Problem Definition
Currently, the get users endpoint returns the email address based on the profile visibility settings. Site admins are able to see the email address on the UI and would like to fetch the email address of users using the get users endpoint.
Suggested Solution
Show the email address of the user, when site admins are calling the get users endpoint.
Why this is important
Site admins developing custom scripts may need to fetch the email address of unmanaged users. The profile visibility settings prevent site admins from fetching the email address that are private.