getUserEmailBulk method

Future<UnrestrictedUserEmail> getUserEmailBulk(
  1. List<String> accountId
)

Returns a user's email address. This API is only available to apps approved by Atlassian, according to these guidelines.

Implementation

Future<UnrestrictedUserEmail> getUserEmailBulk(List<String> accountId) async {
  return UnrestrictedUserEmail.fromJson(await _client.send(
    'get',
    'rest/api/3/user/email/bulk',
    queryParameters: {
      'accountId': accountId.map((e) => e).join(','),
    },
  ));
}