bulkGetUsers method
Returns a paginated list of the users specified by one or more account IDs.
Permissions required: Permission to access Jira.
Implementation
Future<PageBeanUser> bulkGetUsers(
{int? startAt,
int? maxResults,
List<String>? username,
List<String>? key,
required List<String> accountId}) async {
return PageBeanUser.fromJson(await _client.send(
'get',
'rest/api/3/user/bulk',
queryParameters: {
if (startAt != null) 'startAt': '$startAt',
if (maxResults != null) 'maxResults': '$maxResults',
if (username != null) 'username': username.map((e) => e).join(','),
if (key != null) 'key': key.map((e) => e).join(','),
'accountId': accountId.map((e) => e).join(','),
},
));
}