Skip to end of banner
Go to start of banner

How to move a page to a new space in the same instance using Confluence Command Line Interface (CLI)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

This article explains how to move a page to a new space in the same instance using Confluence Command Line Interface (CLI).

Instructions

Use the movePage action to move the page to a new space in the same instance. 

  1. Ensure that the CLI client file is updated with the required information. 

    Below is the screenshot of a sample space with the page title, A01_page1
  2. Run the below CLI action to copy the page to the new space "GT":

    --action movePage --space "COMM" --title "A01_page1" --newSpace "GT"

    Output:

    Page 'A01_page1' moved to space GT.


The parameters used with the above action is:
--space value refers to Space key.
--title value refers to the page title.
--newSpace value refers to the target Space key.

  • No labels