You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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)
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