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

Iterate over all Spaces


I want to write a user macro to get a public list of all spaces, not only the spaces the current user has access to. The official documentation mentions the $spaceManager ( but the requried method getAllSpaces() is marked as deprecated (

Is there another way to get a list of all spaces without running into trouble in near future? There is a hint in the documentation saying "since 7.3.0, use SpaceService.find(Expansion...) in plugins and SpaceManagerInternal in core where applicable". I tried but I can't get it up and running.



1 answer

0 votes
Liza I'm New Here Jan 06, 2022

Hi there, did you manage to find a way to work with the SpaceService.find() method in a user macro? I am running into the same problem...

Hi @Liza, unfortunately no. 

Suggest an answer

Log in or Sign up to answer
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 ...

1,003 views 7 42
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