Skip to content

A simple script for monitoring the age of content in an Atlassian Confluence Cloud instance via their REST API and sends an email to content authors when a certain number of days have passed since the content has been updated and/or reviewed for accuracy.

License

Notifications You must be signed in to change notification settings

clreinki/confluencecontentcleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Confluence Content Cleanup

A simple script for monitoring the age of content in an Atlassian Confluence Cloud instance via their REST API and sends an email to content authors when a certain number of days have passed since the content has been updated and/or reviewed for accuracy. This script was inspired by Midori's Better Content Archiving add-on for on-prem Confluence installations.

Requirements

Installation

Simply clone this repo or download the code as a .zip and extract to folder. Open confluence_content_cleanup.py and modify the user-defined parameters listed at the top of the script. Configurable parameters are described within the code.

Usage

Run the script with the API username and key as parameters (and optionally the SMTP password for your email account if needed). To run this on a recurring basis, please use Windows Task Scheduler or cron on Unix.

python confluence_content_cleanup.py -apiuser <confluence admin email> -apikey <your api key> [-smtppass <your email password>]

About

A simple script for monitoring the age of content in an Atlassian Confluence Cloud instance via their REST API and sends an email to content authors when a certain number of days have passed since the content has been updated and/or reviewed for accuracy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published