-
Suggestion
-
Resolution: Unresolved
-
2
-
2
-
Issue Summary
Create user API does not work for user access administrator
Steps to Reproduce
- Grant the user access admin role to a user
- 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.