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

How to create a page under the homepage via Project Automation

Martin Dowie February 21, 2025

I've been using the example to test this out...and a new page is indeed created. But it is not a child of the homepage - it sits outside that tree of pages as a brand new root page in the space.

How can I create a page under any particular page in a space?

1 answer

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 21, 2025

Hello @Martin Dowie 

I'm not very familiar with the Confluence API. However I found this article:

https://community.atlassian.com/t5/Jira-articles/Automating-the-creation-of-a-Confluence-page-linked-to-a-Jira/ba-p/1760738

In the comments there is mention of an "ancestors" attribute that can be used to set the parent page for the page you are creating. And that is part of the request body described in the API documentation.

https://developer.atlassian.com/server/confluence/rest/v1000/api-group-content-resource/#api-rest-api-content-post

Martin Dowie February 24, 2025

Brilliant, that 100% worked - thank you

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.13.13
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events