Uploaded image for project: 'Identity'
  1. Identity
  2. ID-7744

Allow site admins to fetch email addresses when using the REST API endpoints to get all users

    XMLWordPrintable

Details

    • 88
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Atlassian Update – 12 April 2024

      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

      Atlassian Update – 20 September 2023

      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.

      Attachments

        Issue Links

          Activity

            People

              2015ae912494 Stefan Scorse
              rdey@atlassian.com Ratnarup
              Votes:
              101 Vote for this issue
              Watchers:
              94 Start watching this issue

              Dates

                Created:
                Updated: