Details
-
Suggestion
-
Resolution: Unresolved
-
None
Description
When a project is archived, Jira needs to de-index that project from Lucene index, and also generate an index snapshot (starting with Jira 9.4.1) (as per JRASERVER-74535 ).
This will ultimately lead to heavy pressure on the database, the node's local home and the node's performance itself as it will pile up multiple snapshots and de-index requests that could be made once for all projects.
The REST API endpoint to archive a project (/rest/api/2/project/{projectIdOrKey}/archive) should support bulk archiving projects, perhaps by creating a new endpoint that supports POST requests with a list of multiple project's IDs, which could use the project endpoint (that already exists and supports POST requests), for example:
- /rest/api/2/project/archive