updateSecurityLevel method

Future updateSecurityLevel({
  1. required String schemeId,
  2. required String levelId,
  3. required UpdateIssueSecurityLevelDetails body,
})

Updates the issue security level.

Permissions required: Administer Jira global permission.

Implementation

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