I am wondering if there is any way to delete Confluence pages automatically after a certain period of time?
I have found this plugin, but this is slightly different what I expect.
It requires two steps, but it is dead simple:
Voila! You have clean content each morning by 05:10AM!
You didn't explain what you expected and why the plugin didn't do what you wanted, so it is hard to say what you are looking for. Specifically, what criteria determines whether a page should be removed? You can use Confluence Command Line Interface to script logic to make determine what needs to be removed and use removePage. Optionally, you can save the page source to a file or copy it to some other space or Confluence instance before you remove it. If you can construct a select statement against your Confluence database for pages that need to be archived, then it is easier to use the runFromSql action to do the archiving and removals.
Thank you so much for your advice. Yeah, I also notice my question was not clear enough to ask. Sorry for that.
Anyway, I think Confluence Command Line Interface is the good place to start. Let me play with this first, then.
Again, thank you so much for your prompt assistanse. I appreciate it a lot.
I attended Atlassian Summit 2019 and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events