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

This widget could not be displayed.

You can refer this https://answers.atlassian.com/questions/11050. This should solve your problem smile

You can change period to number of days.

This widget could not be displayed.

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.)

Cheers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

453 views 6 6
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