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

API to retrieve the Atlassian Account ID of a user based on their email address

    • 8
    • 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.

      User Problem

      Organisation administrators would like to create scripts that add specific product access or permissions to users. The Add user to group request on the Organisation Rest API requires the Atlassian Account ID, which can't be retrieved if the users can't access any products.

      Suggested Solutions

      Create an API that would return the Atlassian Account ID of a user based on their email address, irrespective of the user's product access.

      Org Admins can retrieve this information from the UI by searching in the user's view, but no corresponding API exists.

      Current Workarounds

      It will be added when a workaround is found.

            [ID-8528] API to retrieve the Atlassian Account ID of a user based on their email address

            SET Analytics Bot made changes -
            Support reference count Original: 7 New: 8
            SET Analytics Bot made changes -
            Support reference count Original: 8 New: 7
            SET Analytics Bot made changes -
            Support reference count Original: 7 New: 8
            SET Analytics Bot made changes -
            Support reference count Original: 6 New: 7
            SET Analytics Bot made changes -
            Support reference count Original: 5 New: 6
            SET Analytics Bot made changes -
            Support reference count Original: 4 New: 5
            SET Analytics Bot made changes -
            Support reference count Original: 3 New: 4
            Cole Norman made changes -
            Labels New: guard-s7

            If you have SCIM configured, there is a Get Users API that supports filtering by userName. Param = filter, value = userName eq "first.last@example.com"

            https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-get 

            Stefan Papakostopoulos added a comment - If you have SCIM configured, there is a Get Users API that supports filtering by userName. Param = filter, value = userName eq "first.last@example.com" https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-get  
            SET Analytics Bot made changes -
            Support reference count Original: 2 New: 3

              Unassigned Unassigned
              d2a75811c3d2 Cosmin-Gabriel Moflic
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: