archiveIssues method
Enables admins to archive up to 1000 issues in a single request using issue ID/key, returning details of the issue(s) archived in the process and the errors encountered, if any.
Note that:
- you can't archive subtasks directly, only through their parent issues
- you can only archive issues from software, service management, and business projects
Permissions required: Jira admin or site admin: global permission
License required: Premium or Enterprise
Signed-in users only: This API can't be accessed anonymously.
Implementation
Future<IssueArchivalSyncResponse> archiveIssues(
{required IssueArchivalSyncRequest body}) async {
return IssueArchivalSyncResponse.fromJson(await _client.send(
'put',
'rest/api/3/issue/archive',
body: body.toJson(),
));
}