archiveIssuesAsync method
Enables admins to archive up to 100,000 issues in a single request using JQL, returning the URL to check the status of the submitted request.
You can use the get task and cancel task APIs to manage the request.
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.
Rate limiting: Only a single request per user can be active at any given time.
Implementation
Future<String> archiveIssuesAsync(
{required ArchiveIssueAsyncRequest body}) async {
return await _client.send(
'post',
'rest/api/3/issue/archive',
body: body.toJson(),
) as String;
}