Bulk Purge Trash

Use this script to purge all trash for specific spaces or all spaces in your Confluence instance. 

Run this script

Follow these steps to run the built-in script:

  1. Navigate to General Configuration > ScriptRunner > Built-In Scripts
  2. Select Bulk Purge Trash.
  3. Select an option for Trash to Delete.
    • All Spaces
    • Select Spaces, and then enter the spaces in Space(s)
  4. Select Run.
    You can select Preview instead of Run to view changes before implementing them.
    The Bulk Purge Trash script form


Results

Once you select Run, the Results of the script appear.

Example

Purge all trash

Follow these steps to delete all trash in your Confluence instance: 

  1. Navigate to General Configuration > ScriptRunner > Built-In Scripts
  2. Select Bulk Purge Trash.
  3. Select All Spaces for Trash to Delete
  4. Select Run.
    Selecting the All Spaces option for the Trash to Delete field

Results

The results of this script follow:

Results of the script

On this page