Delete a parent page AND its child pages?

Hi.

I am wishing to be able to remove a page and its child pages in one-go. (I'm using version 3.3.1). Even with the space admin right, this is not possible. So after removing a parent page, I have to go to the page that list orphan pages and remove each child page, which can be quite time consuming.

Does anyone know any short-cut/plug-in that allows deleting a parent and its child pages in a simpler way?

Thank you for your support.

15 answers

1 accepted

This widget could not be displayed.

I use the "Import Word Document" function to delete pages plus their children in one go. For this I create an empty word file, import it and choose the option "Delete existing children of ..."

Here is the step by step instruction:

  • Click "Tools" > "Import Word Document"
  • Choose the (empty) Word file
  • Click "Next"
  • Choose the following options at "Where to import":
  • (x) Replace ... {name of the parent page}
  • [x] Delete existing children of {name of the parent page}
  • Click "import"

After this the system imports the empty Word file and replaces all the unwanted pages with it. This one new and empty page can be erased the usual way:

  • Open page
  • Click "Tools" > "Remove"

Off course you need to be carefull with this methode because one wrong click and you can easily erase whole spaces!

I like your lateral thinking :)

Thomas Schlegel Community Champion Jun 26, 2012
That's tricky :-)

I'm wondering why a simple word import can do things that Atlassian can not bring as a regular function to the surface :-(

Steffen,

thanks, that's brilliant thinking and it worked. :) I got rid of about 50 pages in a few seconds all in one go instead of having a boring and annoying task that would have taken many, many minutes.

This is why I follow Answers! :)

Cheers.

Thanks Steffen!!!

I love that there is a community of users to come up with these workarounds, but I agree with Thomas - sad that Atlassian expects you to be an awesome Google searcher to use their product.

@Steffen Heller Thank you sir, you saved us quite a bit of time.

Brilliant! I've been waiting for years for a solution. Thank you!

Great! Its working fine.

As Steffen mentioned, is his approach not without problems. Our add-on provides the necessary security and is extremely easy to use. We have customers with 10’000 User based license.

Marketplace link: Page Tree Eraser

Life saver, thanks a lot Steffen. 

Great tip Steffan.

Big reorg and had a couple of hundred pages to get rid of.

Worked perfectly

If you don't want to workaround in the future, you can vote for a feature request here https://jira.atlassian.com/browse/CONFCLOUD-5974

Best work-around ever :)

This widget could not be displayed.

A quick workaround would be to move the parent page to a temporary Space which will move the child pages along with it. Then remove the temporary Space.

A quick search in PAC led to these awesome plugins:

Thank you very much for your answer, Hussein. The third possibility seems to be the best. Thanks again.

Apologies for blatant plug but just to keep list upto date heres another Free plugin:

https://marketplace.atlassian.com/plugins/treesurgeon

Thanks @Martin. I've added it in the list.

This widget could not be displayed.

To resolve this for my user base, I created a page called "orphaned pages" in each space.  I then took all the orphaned pages under Space Tools -> Reorder Pages and and moved them to the orphaned pages.  Then I gave each space admin one week to go through and make sure they do not want to keep any of it.    After that, I moved each "orphaned pages" to a new space called orphaned and deleted that space.  Kind of a pain, but it worked without too much overhead.

The work around we are going to use is to create a space called Trash and then people should just move pages with lots of children to Trash. From there I will simply delete the space each week, and re add it.

We implemented exactly this functionality in our Add-on, expect that in your case the Page Title could be a problem. It has to be unique in the trash space. We add the date, time and user to the page title. Like that all page titles are unique and you could restore the pages with our Page Tree Creator Add-on.

Marketplace link: Page Tree Earser

This widget could not be displayed.

Deleting a page incl. it's subpages is such a fundamental function - why this isn't part of the confluence functions?
Deleting dozens of pages manually OR installling a paid add-on OR using some creative workaround - really???

This widget could not be displayed.

WebDAV interface also works well for this.

I agree - using e.g. CyberDuck as a webdav client allows instantaneous deletion of a page full hierarchy.

This widget could not be displayed.

Hi,

Check out our plugin. It is simple and save to use.

No calls, no tickets, no backup restores. That's your new life. Thanks to the  "Undo Time" and the additional "Page Tree Deletion" permission you can optimize the usability and the security.

Marketplace Link: Page Tree Eraser

Regards,
Stephan

This widget could not be displayed.

This add on is helpful to delete child pages with permission:

https://marketplace.atlassian.com/plugins/com.elitesoftsp.confluence.page.tree.utility.plugins/server/overview

If you need to delete attachment or comment on the page, you can use this add on: 

https://marketplace.atlassian.com/plugins/com.elitesoftsp.confluence.page.utility.plugins/server/overview

 

This widget could not be displayed.

Check plugin [Confluence Delete Page and Subpages|https://plugins.atlassian.com/plugin/details/70969]

This widget could not be displayed.

There is a plugin (I've not tried) that removes a page and its child pages. See the Delete Page and Sub Pages plugin at https://plugins.atlassian.com/plugin/details/70969.

If you try this plugin, post back here about your experiences. Love to hear how it goes.

This widget could not be displayed.

Sadly, none of the plugins work--I have been trying to remove pages in theme documentation. It doesn't work. Even the Word import failed.

@chitp - sorry for the extremely late reply (and feel free to kick me if this is a stupid comment), but if NONE of the options work for you, then I'm wondering if you've got 'remove' permission in the space? Nothing will work if you're not allowed to remove pages.

This widget could not be displayed.

Any kind of hint as to how we should go about using tree surgeon?

I installed it, but can't find anywhere how I actually can use it now.

This widget could not be displayed.

Absolutely none of the recommended plug-ins seem to be available. They've been archived or I can't find them when searching Add-Ons? Is there no free plug-in out there to do this? Thanks

This widget could not be displayed.

Hi , the plugin is not free but not expensive and supports latest confluence version: https://marketplace.atlassian.com/plugins/at.rumpelcoder.confluence.deletepagetree Please give feedback, we are willing to implement user requested features.

This widget could not be displayed.

I think I'll set up a Space called "Deleted Pages" and tell people to move pages there. That way they don't need the permissions to create a space and get rid of the documents. If need be they can restrict the page to themselves. An admin can then periodically clear the space if necessary.

This widget could not be displayed.
Stephen Deutsch Community Champion May 18, 2017

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

171 views 12 7
Read article

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