I want to delete blog posts from a space. In my particular case, I can delete all, but it seems better to delete only posts that are older than a selected date.
I'm looking forward to tips.
Hi @Susanne B
What comes into my mind first is creating a page (e.g., Posts for Deletion) and reordering all posts which you want to delete as its child pages. Then remove the page and in the pop-up window check the "Also delete child pages" mark.
This may work if you have dates in your blog post titles to sort them out while reordering :)
Use the Space tools - Reorder pages menu. It will lead you to the page tree, where you can drag n drop the posts. Attached you can see my personal space, for example in Reorder Pages mode. If I want to delete my Articles folder, it will bulk delete the blog posts also.
Oh my, I understand your case, I made a few sample pages in my Blog section and try to reorder them. What I suggested was possible if the content is in your main Confluence space.
There is a feature request from 2004 for bulk-type operations with status "Probably Never". :(
Found some articles in the documentation space:
Apparently, the manual option is still deleting the posts one by one. Hope someone will have a better solution than me.
@Susanne B : Sadly there is no standard "search => criteria:<date // delete" function.
But... it's Server, so how hardcore do you want to get?? A macro could be written if your Atlassian Admin / Development team are up for the challenge:
I hoped that Scriptrunner would provide me with a suitable built-in script like the one that deletes obsolete comments on pages. Unfortunately no.
We may find someone in the development who feels called to do so, but the requirement probably doesn't come often enough.
Thank you very much!
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
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