Confluence 5.8.5 Tree View not showing hierarchy

We recently installed Confluence 5.8.5 and imported (using REST API) several pages. The pages are showing up as expected. However, when we try to view the pages in the Tree View (pages/listpages-dirview.action?key=testSpace) the pages don't show up and the list is blank. Any idea why this is happening?


4 answers

Hi Greg,

As you've imported those pages using Rest API, I suspect Confluence might not have indexed the content.

I'd suggest as first step you perform a rebuild of the content index.

Please let us know how it goes.


Kind regards,

Luiz Maia
Atlassian Support

Thanks Luiz - I just rebuilt the index and the Tree View still does not show up. The "Recently Updated" shows up fine and the "Alphabetical" list is also fine...just the Tree View is blank. We also recently installed Confluence 5.7.3 and this had no issues with the Tree View - we are basically doing the same thing as before except this time we are using 5.8.5

0 votes
Steven Behnke Community Champion Aug 14, 2015

This is a fairly common problem. If you didn't specify an "ancestor" when you imported the pages, they will be at the root of the space. The sidebar is looking for "descendants" of the page you're on RIGHT NOW, which I can surmise is the Space Home page. 

  1. Click the image2015-8-14 13:33:4.png button in the sidebar
  2. Select Reorder pages
    image2015-8-14 13:33:50.png
  3. You will likely note that instead of being UNDER the homepage, these pages are simply at the root of the space. As I noted above, the sidebar's behavior is to show the Pages under the page you're on. Since the page "print" isn't under Behnke Home, I will not see them on the sidebar when I am on the page Behnke Home.
    image2015-8-14 13:35:22.png
  4. To fix this, you can use the Reorder pages function to drag'n'drop all the pages necessary where they belong. 

You can avoid this issue by specifying which piece of content this newly created page belongs under as you import it. You would need to declare this like so: 

"ancestors": [{


This function is the same for adding comments to pages, so that you can add threaded comments to pages using the same method.

    "type": "page",
    "ancestors": [{
    "title": "TITLE",
    "space": {
        "key": "SPACEKEY"
    "body": {
        "storage": {
            "value": "BODY CONTENT",
            "representation": "storage"

Confluence REST API: REST API Examples

Thanks Steven for the details!

I'm actually already setting the 'ancestors' as you mention when doing the REST import. In fact I posted my findings on this about three months ago here in the comments section: the hierarchy is being set on import.

For some reason the "Reorder pages" view is coming up blank (even though the pages exist in the hierarchy).

I'm also seeing this if I create a new space with the "Documentation Space" option...for some reason the example pages created for the vanilla space don't show up in the Tree View...hmmm - not sure what would be causing this.

Thanks again for the info!

Steven Behnke Community Champion Aug 14, 2015

Haha Greg, I just quoted your own dang comment right back at you. :3 I'm definitely curious about this problem...

Any progress Greg ? I have a similar problem.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,376 views 100 8
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