View Trash shows maximum 500 items with no pagination or "Load More" option to view additional trashed content

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • Component/s: Page - Delete
    • None
    • 8
    • Minor
    • 3

      Issue Summary

      When a Confluence Cloud space has more than 500 items in the trash, the View Trash page (/wiki/pages/viewtrash.action?key=<SPACE_KEY>) displays only 500 items with no pagination controls or "Load More" button to access the remaining trashed content. Users are unable to view, restore, or purge trashed items beyond the 500-item limit through the UI.

      Steps to Reproduce

      1. Navigate to a Confluence Cloud space that has more than 500 items in the trash
      2. Go to Space Settings → Manage Space → Trash (or directly access /wiki/pages/viewtrash.action?key=<SPACE_KEY>)
      3. Observe the number of trashed items displayed
      4. Scroll to the bottom of the page and look for pagination controls or a "Load More" button

      Expected Results

      • The UI should display the total count of trashed items 
      • Pagination controls (Previous/Next buttons or page numbers) OR a "Load More" button should be available to load additional trashed items beyond the first 500
      • Users should be able to access, restore, or purge ALL trashed content through the UI

      Actual Results

      • Only the first 500 trashed items are displayed
      • No indication is shown that additional trashed items exist
      • No pagination controls or "Load More" button is available
      • Users cannot view or manage trashed items beyond the 500-item limit through the UI

      Workaround

      Use the Confluence REST API to view and manage trashed content beyond the 500-item limit:

      To list trashed pages with pagination:

      • {{GET /wiki/api/v2/spaces/<space-id>/pages?status=trashed&limit=250&start=0 }}
      • GET /wiki/api/v2/spaces/<space-id>/pages?status=trashed&limit=250&start=250

      To restore a trashed page:

      https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-states/#api-wiki-rest-api-content-id-state-put  

      To permanently delete (purge) a trashed page:

      https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-delete

       

              Assignee:
              Unassigned
              Reporter:
              Abhinay Nigam
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: