confluence space blueprint nested pages Edited

Hello everyone,

I'm trying to write a custom confluence space blueprint with multiple nested child pages. The final page structure within the space should look like this:

- Page A
    - Page B
    - Page C

- Page D
    - Page E
    - Page F
    - Page G
    - Page H

...and so on. 

To create the space blueprint plugin I followed these tutorials:
Write a simple Confluence Space Blueprint and Space Blueprint Module and I'm successfully able to create my custom space with child pages.

The problem is that the corresponding pages are created on the same level and I've found no way to nest them.

I've tried the following in my atlassian-plugin.xml:

<content-template ref="hierarchy-child-a-content-template">
    <content-template ref="hierarchy-child-b-content-template"/>
    <content-template ref="hierarchy-child-c-content-template"/>

Page B and C should be nested under Page A (at least as far as I understand) . Instead they're all created on the same level like:

- Page A
- Page B
- Page C

Does anyone know how to do it correctly?


Update: It's working now! I don't know why. I actually changed nothing in  my atlassian-plugin.xml. Seems a change somewhere else did the trick, but it's impossible to track down what the solution/problem was.

1 answer

0 vote

Hi Andre,


I'm also trying to create a custom blueprint similar to yours. My problem is that I can never produce any pages other than the 'Homepage'. Could you share your source code or perhaps give any tips ? 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

524 views 19 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you