-
Bug
-
Resolution: Fixed
-
Low
-
7
-
Severity 3 - Minor
-
Summary
A POST request to create user via REST API endpoint /rest/api/2/user will trigger an email notification, despite our documentation says:
Create user. By default created user will not be notified with email. If password field is not set then password will be randomly generated.
Doc reference: https://docs.atlassian.com/jira/REST/cloud/#api/2/user-createUser
Steps to Reproduce
Run the following cURL to create a sample user:
curl -D- -u <email_address> -H "Content-Type: application/json" -X POST -d '{"displayName":"Name Here", "emailAddress":"email@here.com", "name":"username-here"}' https://<instance>.atlassian.net/rest/api/2/user
Expected Results
User is created without triggering notification.
Actual Results
The user is created and a notification is triggered.
- is duplicated by
-
JRACLOUD-67024 User created via REST API receives invitation email
- Closed
-
JRACLOUD-72874 Using the create user endpoint with notification enabled sends and email with incorrect link
- Closed
- is related to
-
JRACLOUD-67024 User created via REST API receives invitation email
- Closed
- is cloned by
-
GORDIAN-435 Loading...