associateSchemesToProjects method

Future<TaskProgressBeanObject> associateSchemesToProjects({
  1. required AssociateSecuritySchemeWithProjectDetails body,
})

Associates an issue security scheme with a project and remaps security levels of issues to the new levels, if provided.

This operation is asynchronous. Follow the location link in the response to determine the status of the task and use Get task to obtain subsequent updates.

Permissions required: Administer Jira global permission.

Implementation

Future<TaskProgressBeanObject> associateSchemesToProjects(
    {required AssociateSecuritySchemeWithProjectDetails body}) async {
  return TaskProgressBeanObject.fromJson(await _client.send(
    'put',
    'rest/api/3/issuesecurityschemes/project',
    body: body.toJson(),
  ));
}