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

tree mapping a complete Confluence site

Is it possible to get a visual on all the pages through a tree map or any other way? 

How can I find every page that has ever been created ? 

1 answer

1 accepted

0 votes
Answer accepted

Short question, what is the reason behind this requirement? There probably is a different way to get there.

Technically, when you go to the space -> content tools -> reorder pages, that is where you can see the tree view. Also you could use a "page tree" macro in a space's home page - but there is a limit to it in terms of depth and it will not show you orphaned pages.

There is no global or site-wide tree view in Confluence, either. I think that theoretically you might be able to create a user macro with velocity, but this will not be a trivial task either. There was a similar discussion here https://community.atlassian.com/t5/Confluence-questions/Confluence-User-Macro-needed-to-list-all-Space-Admins/qaq-p/981171 where you can see an example how to get all spaces, Darin Hofer added a comment there. Now I know the method used there is deprecated (getAllSpaces() - namely), so this could break in your future upgrades. My first idea was to use velocity to load the spaces, get the tree "somehow" from it, and print that somewhere on your temp page.

However, it absolutely will not be that simple to get page tree per space. Another problem is - this will probably crash your browser first, or crash your instance in the worse case. The amount of data you could be trying to fetch in one go, if your instance is large, this is not a good approach.

So what's left, well, plugins, or if you have scriptrunner, a groovy script might probably do it too.

In any case, this is just to add a comment that there is no such view natively, there is no easy way to get this.

 

Again though, this is not a very common request, if you could tell us the reason why you are looking for this data, there is very probably a better approach.

Hi Thanks for that reply. The reason is to really get a grip on our wiki and bring in some governance. So the following would be applicable as to why we would want to see the complete tree. ( I take it , that it could be done space by space in a limited way) 

  • fix broken links
  • Identify and then delete duplicate data
  • Reorder the information tree into a more strategically coherent tree. 
  • Collect information and move it to appropriate places within the company structure and take out from Confluence where necessary. 
  • Knowledge mapping and indexing the existing knowledge. 
  • Prioritise information. 

If not all pages, is it possible to find all spaces? 

The 'Space permissions' is a pretty handy page (/admin/permissions/viewdefaultspacepermissions.action) imo as it should list all spaces in a non-paginated list with a hyperlink to them (or administration). This I believe also shows archived spaces, as far as I remember it lists everything apart from personal spaces.

 

Your tasklist doesn't quite seem like it could be automated in a good way though - a lot of human thinking it sounds like based on the reordering/prioritizations/moving and such.

I don't have personal experience with this plugin but it seems like it could help you in a lot of ways so you don't have to individually click through the entire Confluence site: https://marketplace.atlassian.com/apps/1214087/space-admin-for-confluence?hosting=datacenter&tab=overview

Suggest an answer

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

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,983 views 33 137
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