unarchiveIssues method

Future<IssueArchivalSyncResponse> unarchiveIssues({
  1. required IssueArchivalSyncRequest body,
})

Enables admins to unarchive up to 1000 issues in a single request using issue ID/key, returning details of the issue(s) unarchived in the process and the errors encountered, if any.

Note that:

  • you can't unarchive subtasks directly, only through their parent issues
  • you can only unarchive 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> unarchiveIssues(
    {required IssueArchivalSyncRequest body}) async {
  return IssueArchivalSyncResponse.fromJson(await _client.send(
    'put',
    'rest/api/3/issue/unarchive',
    body: body.toJson(),
  ));
}