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?
--action copyPage --space SRCSPACE --newSpace TGTSPACE --title "My page" --descendents
And you can find more examples on this page:Â Examples.
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?
Never mind. Found out "–copyAttchments" parameter.
It looks like you're new here. Sign in or register to get started.