A scheduled job that you can also run in the script console to archive personal spaces that have not been modified.
The script checks each personal space to see if it contains only the following 'sample' pages and archives the space
if the pages are unedited: Overview, Sample Pages, Decisions, Product requirements, Meeting notes
Personal spaces are created whenever a new user accesses Confluence. Each space has the same set of sample pages
that clutter up the search results in Confluence. This script archives the personal spaces that aren't being used,
in order to improve the search experience for both spaces and pages.
Good to Know
Users with a non-English language setting in Confluence will have pages created with different names to the ones
specified in the script e.g. Requisitos del producto. You must update the script to cater for non-English page names.
This script may timeout when it is run from the Script Console or as a Script Job if you have many spaces in your
Confluence instance. After a timeout, the script picks up from where it stopped when you re-run it. Timeouts will
show as errors in the Execution History of a Script Job.
You can configure this script to run as a Script Job to ensure unused personal spaces are continuously archived in