addSecurityLevel method

Future addSecurityLevel({
  1. required String schemeId,
  2. required AddSecuritySchemeLevelsRequestBean body,
})

Adds levels and levels' members to the issue security scheme. You can add up to 100 levels per request.

Permissions required: Administer Jira global permission.

Implementation

Future<dynamic> addSecurityLevel(
    {required String schemeId,
    required AddSecuritySchemeLevelsRequestBean body}) async {
  return await _client.send(
    'put',
    'rest/api/3/issuesecurityschemes/{schemeId}/level',
    pathParameters: {
      'schemeId': schemeId,
    },
    body: body.toJson(),
  );
}