Details
-
Suggestion
-
Resolution: Won't Do
-
None
-
None
-
1
-
Description
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
Problem Definition
API documentation Create User EXPERIMENTAL endpoint POST /rest/api/2/user applicationKeys option is not avaliable at this time:
Notes JSON body content format as:
{ "name": "charlie", "password": "abracadabra", "emailAddress": "charlie@atlassian.com", "displayName": "Charlie of Atlassian", "applicationKeys": [ "jira-core" ] }
BUT using "applicationKeys" flag returns error:
{ "errorMessages": [ "Application access permissions cannot be modified via REST in Cloud." ], "errors": {} }
Suggested Solution
For this to work you can currently run "notification" : "< true / false - whether to send notification to given email address or not>",
{ "name": "< USER NAME >", "password": "< USER PASSWORD >", "emailAddress": "< USER EMAIL >", "displayName": "< USER DISPLAY NAME >", "notification": "false" }
Attachments
Issue Links
- is related to
-
JRACLOUD-65318 Create user with JIRA API rest/api/2/user allows duplicate users
- Closed
-
JRACLOUD-65579 Default application access is not respected when creating user with REST API
- Closed
- relates to
-
JRACLOUD-65318 Create user with JIRA API rest/api/2/user allows duplicate users
- Closed
-
JRACLOUD-60454 API Endpoint Create user EXPERIMENTAL POST /rest/api/2/user: applicationKeys not available in Cloud
- Closed