getSecurityLevelMembers method

Future<PageBeanSecurityLevelMember> getSecurityLevelMembers({
  1. String? startAt,
  2. String? maxResults,
  3. List<String>? id,
  4. List<String>? schemeId,
  5. List<String>? levelId,
  6. String? expand,
})

Returns a paginated list of issue security level members.

Only issue security level members in the context of classic projects are returned.

Filtering using parameters is inclusive: if you specify both security scheme IDs and level IDs, the result will include all issue security level members from the specified schemes and levels.

Permissions required: Administer Jira global permission.

Implementation

Future<PageBeanSecurityLevelMember> getSecurityLevelMembers(
    {String? startAt,
    String? maxResults,
    List<String>? id,
    List<String>? schemeId,
    List<String>? levelId,
    String? expand}) async {
  return PageBeanSecurityLevelMember.fromJson(await _client.send(
    'get',
    'rest/api/3/issuesecurityschemes/level/member',
    queryParameters: {
      if (startAt != null) 'startAt': startAt,
      if (maxResults != null) 'maxResults': maxResults,
      if (id != null) 'id': id.map((e) => e).join(','),
      if (schemeId != null) 'schemeId': schemeId.map((e) => e).join(','),
      if (levelId != null) 'levelId': levelId.map((e) => e).join(','),
      if (expand != null) 'expand': expand,
    },
  ));
}