It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I copy an entire page tree in Confluence? (On Demand)

Andrew Mar 05, 2014

I am trying to COPY a whole tree of pages from one space to another. I have admin privileges and am able to copy a single page - but not the whole tree.

I have done a search in the Atlassian online help and I can find utilities for copying whole trees but these seem to be for the installed version of Confluence rather than On-Demand. Is there a utility / function available to do this ?

3 answers

1 accepted

1 vote
Answer accepted

Confluence Command Line Interface has the copyPage action which will optionally will copy the hierarchy. Other options for copying attachments, labels, permissions, etc... . And works with OnDemand.

Training7 Mar 06, 2014

Bob, The marketplace shows this as not available for On Demand. Is it just that the page hasn't been updated yet?

Andrew Mar 06, 2014

Alex, that is what my understanding is also. Hopefully Bob can clarify. Thanks

There is a Marketplace listing bug. All CLIs work with OnDemand :).

2 votes
Bill Arconati Mar 05, 2014

Are you talking about copying or moving a page tree? According to the documentation

"When you move a page, attachments and comments will be moved with the page. All child and descendent pages will also be moved."

In other words, the whole tree should move when you move the parent. If you want to copy, that's an open feature request (see CONF-2814)

Andrew Mar 05, 2014

Bill, many thanks for the reply. Sorry for the confusion. I put "copy" in the title of the log but then used the term "move" in the description. Doh ! I am trying to COPY. I am trying to take a subset of pages from one space and copy them to another, i.e. replicate so that they can be subsequently edited.

Maybe I could do an export, edit the XML to remove the hundreds of pages etc. I don't want and then re-import to the alternative space ?

I will certainly add a vote to CONF-2814

0 votes
Andrew Mar 11, 2014

Bob, thanks for the clarification. Will investigate. That's good news (well good in that you have a tool that provides a solution, bad in that it's not a standard part of Confluence !).

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

956 views 0 19
Read article

Community Events

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

Events near you