getProjectIssueSecurityScheme method

Future<SecurityScheme> getProjectIssueSecurityScheme(
  1. String projectKeyOrId
)

Returns the issue security scheme associated with the project.

Permissions required: Administer Jira global permission or the Administer Projects project permission.

Implementation

Future<SecurityScheme> getProjectIssueSecurityScheme(
    String projectKeyOrId) async {
  return SecurityScheme.fromJson(await _client.send(
    'get',
    'rest/api/3/project/{projectKeyOrId}/issuesecuritylevelscheme',
    pathParameters: {
      'projectKeyOrId': projectKeyOrId,
    },
  ));
}