Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 to create pages for child page in confluence cli?

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

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

Thank u so much..This helped

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,752 views 8 32
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