Delete page automatically in Confluence?

Hi Everyone,

we'd need a functionality in Confluence: we create a page for our customers but each page should exists 30 days and then these have to be deleted. Because we will have a large number of pages, we cannot maintain them manually. Is there a feature, plugin, etc. for Confluence which would delete the page after a determined period?

Thanks, Rumi

2 answers

You can refer this This should solve your problem smile

You can change period to number of days.

Hi Rumi,

have a look in here, its about combining the Archiving Plugin with CLI.

It requires two steps, but it is dead simple:

  1. Set up the Archiving Plugin to archive the pages that should be deleted. Please note that this will move the pages to spaces whose name ends with "(Archive)". Configure the Confluence managed archiving job to run at 01:00AM, for instance.
  2. Set up CLI to delete all spaces whose name ends with "(Archive)"! Configure a cron job to run it at 05:00AM, for instance. (It leaves 4 hours for archiving to complete, which is more than enough even for very large Confluence instances.)


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,100 views 17 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you