-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: User management - Search
-
3
-
Severity 3 - Minor
Issue Summary
As per the documentation, the REST API endpoint Get all users /rest/api/3/users/search and Bulk get users /rest/api/3/user/bulk returns applicationRoles and Groups but response does not have applicationRoles and Groups details
Steps to Reproduce
Make a REST API call to below endpoint
curl --request GET \ --url 'https://your-domain.atlassian.net/rest/api/3/users/search' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json’
Expected Results
Response to include applicationRoles and Groups details.
Actual Results
{
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=70121:*******-aaf2-*****-98d9-**********”,
"accountId": "70121:*******-aaf2-*****-98d9-**********”",
"accountType": "atlassian",
"emailAddress": “**********@atlassian.com",
"avatarUrls": {
"48x48": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/70121:7aaaca38-aaf2-4244-98d9-be31683dde6b/61564840-d8de-4880-8d7f-4cbf350a7dca/48"
},
"displayName": “Test “user,
"active": true,
"timeZone": "Asia/Kolkata",
"locale": "en_GB"
}
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available