getIssueSecurityLevelMembers method

Future<PageBeanIssueSecurityLevelMember> getIssueSecurityLevelMembers({
  1. required int issueSecuritySchemeId,
  2. int? startAt,
  3. int? maxResults,
  4. List<int>? issueSecurityLevelId,
  5. String? expand,
})

Returns issue security level members.

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

Permissions required: Administer Jira global permission.

Implementation

Future<PageBeanIssueSecurityLevelMember> getIssueSecurityLevelMembers(
    {required int issueSecuritySchemeId,
    int? startAt,
    int? maxResults,
    List<int>? issueSecurityLevelId,
    String? expand}) async {
  return PageBeanIssueSecurityLevelMember.fromJson(await _client.send(
    'get',
    'rest/api/3/issuesecurityschemes/{issueSecuritySchemeId}/members',
    pathParameters: {
      'issueSecuritySchemeId': '$issueSecuritySchemeId',
    },
    queryParameters: {
      if (startAt != null) 'startAt': '$startAt',
      if (maxResults != null) 'maxResults': '$maxResults',
      if (issueSecurityLevelId != null)
        'issueSecurityLevelId':
            issueSecurityLevelId.map((e) => '$e').join(','),
      if (expand != null) 'expand': expand,
    },
  ));
}