-
Bug
-
Resolution: Duplicate
-
Low
-
30
-
Severity 3 - Minor
-
1
-
Summary
User created via REST API receives invitation email and need to click on the link to complete the account creation before the account can be used to execute other REST calls. This is mostly because of Atlassian Accounts, since newly created user account in JIRA Cloud will now lead to the creation of a user account in Atlassian ID which requires email confirmation to finish the user creation process.
While in documentation, it is stated that:
Create user. By default created user will not be notified with email. If password field is not set then password will be randomly generated.
The documentation will need to be updated or there will need to be a new feature in the REST end point to enable/disable email confirmation during user creation.
Steps to reproduce
- Create user using POST /rest/api/2/user.
- Send the JSON payload including the password:
{ "name": "charlie", "password": "abracadabra", "emailAddress": "charlie@atlassian.com", "displayName": "Charlie of Atlassian", }
- Check related mail inbox.
Expected Result
User creation completed without receiving invitation email and the credential can be used to perform REST calls directly.
Current Result
The credential can't be used to perform REST calls unless the link in invitation mail is followed.
Notes
The new experimental user endpoint POST /rest/api/3/user has the notification parameter that should allow the user to disable notifications on user creation.
This attribute is currently not working so all user creations will still trigger an email notification.
We will use this bug to track the fix on that for now.
- duplicates
-
JRACLOUD-67680 POST /rest/api/2/user triggering email notification
- Closed
- relates to
-
JRACLOUD-67680 POST /rest/api/2/user triggering email notification
- Closed
-
ACCESS-1599 Ability to create users via REST api without sending invitation emails.
- Gathering Interest