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 permissionLicense required: Premium or EnterpriseSigned-in users only: This API can't be accessed anonymously.Rate limiting: Only a single request per jira instance can be active at any given time.
リクエストパラメータ
リクエストボディパラメータapplication/json
例
レスポンス
🟢202承認済み
application/json
Returns the URL to check the status of the submitted request.
ボディ
🟠400不正な要求
🟠401権限なし
🟠403アクセス禁止
🟠412412
リクエストリクエストExample
Shell
JavaScript
Java
Swift
curl--location--request POST '/rest/api/3/issue/archive' \
--header'Content-Type: application/json' \
--data-raw'{
"jql": "project = FOO AND updated < -2y"
}'