createIssueSecurityScheme method

Future<SecuritySchemeId> createIssueSecurityScheme({
  1. required CreateIssueSecuritySchemeDetails body,
})

Creates a security scheme with security scheme levels and levels' members. You can create up to 100 security scheme levels and security scheme levels' members per request.

Permissions required: Administer Jira global permission.

Implementation

Future<SecuritySchemeId> createIssueSecurityScheme(
    {required CreateIssueSecuritySchemeDetails body}) async {
  return SecuritySchemeId.fromJson(await _client.send(
    'post',
    'rest/api/3/issuesecurityschemes',
    body: body.toJson(),
  ));
}