Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,369
Community Members
 
Community Events
165
Community Groups

Adding a spaces page tree to another space's sidebar

I would like to include the page tree from space A on the sidebar of space B. I tried adding the page tree macro to the sidebar, but I can't find an option that works to identify the space key for another space. I tried something like what's below, but I get a messgae that it can't find SPACEA:@home in the current space. Anyone have a suggestion?

 

{pagetree:root=SPACEA:@home|sort=natural|excerpt=true|reverse=false|startDepth=3|expandCollapseAll=true|searchBox=true}

1 answer

1 accepted

2 votes
Answer accepted
Diego Atlassian Team May 03, 2019

Hello there!

You are almost on point with the structure. What we are looking for is something like this:

{pagetree:spaces=SPACEA|root=@home|sort=natural|excerpt=true|reverse=false|startDepth=3|expandCollapseAll=true|searchBox=true}

This Page Tree will be displayed above the own space page tree. You can check it by inserting it here Space Tools > Look and Feel > Sidebar, Header and Footer and then paste it on the sidebar text box.

Let us know if this helps you!

Thank you, that's what I needed.

Like # people like this

I needed that too!  Thanks for asking that Ronald and thanks for solving it Diego!

Like Diego likes this
Diego Atlassian Team Oct 18, 2019

Great to hear that this has helped you as well, @Stacy Allotta !

@Diego is there a way to include the root page in the tree when implementing this solution? My implementation is only showing the children of my root, but I'd like to include the one root page as well.

Suggest an answer

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

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

1,018 views 17 28
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