How to create pages for child page in confluence cli?

Priya Ramakrishnan
Contributor
March 4, 2021

I have a page hierarchy as follows

Parent Page

      --Childpage1

             ---Subchild1

             ---Subchild2

             ---Subchild3

      --Childpage2

      --Childpage3

 

The thing is using this CLI i am able to create childpage1,childpage2 and childpage3.

--action addPage --space "TAS" --title "Test-child" --content "This is a test page." --parent "Test-parent"

but i am not able to create SubChild1, Subchild2 and Subchild3

KIndly help me on this

1 answer

1 accepted

0 votes
Answer accepted
Reshma Begum _Appfire_
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.
March 4, 2021

Hi @Priya Ramakrishnan ,

To create a page with the child page as a parent, please add the child page to the parent parameter. Please use the action as given below

--action addPage --space RESH --title "sub-child-page1" --parent child-page --content "test content"

--action addPage --space RESH --title "sub-child-page2" --parent child-page --content "test content"

The above actions will create sub-child pages as shown in the screenshot below.

hirerchy.png

We have opened a support ticket https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-6155, to better track your request. However, we couldn't add you as a reporter.  Please sign up using this link https://bobswift.atlassian.net/servicedesk/customer/portal/1/user/signup  and share the user name/id. We'll then add you as the reporter and confirm. 

 

Thanks,

Reshma

Priya Ramakrishnan
Contributor
March 5, 2021

Thank u so much..This helped

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events