restore method
Restores a project that has been archived or placed in the Jira recycle bin.
Permissions required:
- Administer Jira global permissionfor Company managed projects.
- Administer Jira global permission or Administer projects project permission for the project for Team managed projects.
Implementation
Future<Project> restore(String projectIdOrKey) async {
return Project.fromJson(await _client.send(
'post',
'rest/api/3/project/{projectIdOrKey}/restore',
pathParameters: {
'projectIdOrKey': projectIdOrKey,
},
));
}