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

Allow user access admin to invite users via API

XMLWordPrintable

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

      Issue Summary

      Create user API does not work for user access administrator

      Steps to Reproduce

      1. Grant the user access admin role to a user
      2. As the user access admin, use the Create User API
      curl --request POST \
        --url 'https://your-domain.atlassian.net/rest/api/2/user' \
        --user 'email@example.com:<api_token>' \
        --header 'Accept: application/json' \
        --header 'Content-Type: application/json' \
        --data '{
        "emailAddress": "mia@atlassian.com"
      }'
      

      Actual Results

      1. Without Jira administrator access, the following error is returned.

      {"errorMessages":["You are not authorized to perform this action. Administrator privileges are required."]
      

      2. With the Jira administrator access, the user is invited but in suspended state.

      Suggestion

      Allow user access admin to invite users via API
       

      Workaround

      Grant the org admin access to allow inviting of users via API.

              Unassigned Unassigned
              rmacalinao Ramon M
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: