Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-77596

Support bulk archiving of projects efficiently

XMLWordPrintable

    • 1
    • 5
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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

              Unassigned Unassigned
              rbaldasso Rodrigo Baldasso
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: