Uploaded image for project: 'Atlassian Guard'
  1. Atlassian Guard
  2. ACCESS-1423

Export Organization Users using API is missing "added to org" field.

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

      The existing API used to export organization level users is https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users/#api-orgs-orgid-users-get, and when exporting all the users of the org into CSV from the UI from the steps below:

      • Directory >> Users >> Export Users
        we get a field "added to org" showing the date the user was added to the org.

      The same field does not show up when we are using the API (mentioned above)

      The current workaround is to use the below API
      https://admin.atlassian.com/gateway/api/adminhub/um/org/<orgID>/exports/users, updating the session cookie and Content Type set to application/json in the Headers section

      Body:

      { "includeApplicationAccess": "true", "includeGroups": "true", "includeInactiveUsers": "true", "selectedGroupIds": [] }

      Creating this feature request to add "added to org" field in the existing API response

            [ACCESS-1423] Export Organization Users using API is missing "added to org" field.

            Darryl Lee added a comment -

            ARRRRRGH, I can't use the workaround because...

             

            {"key":"badRequest","context":{"message":"Org is not vortex enabled."} 

            And I can't get Vortex because... 

             

            I'm apparently part of the 1%. :-{

            Darryl Lee added a comment - ARRRRRGH, I can't use the workaround because...   { "key" : "badRequest" , "context" :{ "message" : "Org is not vortex enabled." } And I can't get Vortex because...    I'm apparently part of the 1% . :-{

            Joe McCord added a comment -

            We are trying to do the same.  Interesting ... maybe this should be an actual feature within the User Management section.

            Joe McCord added a comment - We are trying to do the same.  Interesting ... maybe this should be an actual feature within the User Management section.

            I'm trying to do the same thing - and it makes total sense to use "added to org" as the comparison

            (in my case, I want to add specific teams automatically, then revoke if they haven't used it in X days since being added)

            Matt Oxley added a comment - I'm trying to do the same thing - and it makes total sense to use "added to org" as the comparison (in my case, I want to add specific teams automatically, then revoke if they haven't used it in X days since being added)

            We are developing an automated process to remove users who didn't login for 3 months from the DLs, in order to save license costs.

            Without this field we can't get this information, and the workaround makes it much more complicated.

            Orit Nachshon added a comment - We are developing an automated process to remove users who didn't login for 3 months from the DLs, in order to save license costs. Without this field we can't get this information, and the workaround makes it much more complicated.

              2015ae912494 Stefan Scorse
              6af61acd71eb Praneeth Garimella
              Votes:
              31 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated: