How to copy page / child pages to another space by Confluence CLI

Hisamitsu Koga July 30, 2016

I want to copy the page and child pages to another space in same Confluence instance by Confluence CLI.

Could you someone let me know the exact command to copy the page and child pages to another space by Confluence CLI, please?

1 answer

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 1, 2016
--action copyPage --space SRCSPACE --newSpace TGTSPACE --title "My page" --descendents

And you can find more examples on this page: Examples.

Hisamitsu Koga August 1, 2016

Thank you for your prompt reply. Worked well, but attachments can't be copied to the target space / page. How can we copy the attachments to the target space / page as well?

Hisamitsu Koga August 1, 2016

Never mind. Found out "–copyAttchments" parameter.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events