You can do it with search syntax. Just make sure the Space drop down is set to All Spaces. Below is an example search
policy AND procedure AND (spacekey:HR OR spacekey:TEST)
Update to add screenshots for below comment:
When you add the live search macro don't specify any space keys.
Then when you are viewing the page you can use this search syntax to get what you want.
Hi Davin, I don't think it works and I have tried it previously. See": https://confluence.atlassian.com/display/DOC/Livesearch+Macro and the comment below that is 5 years old now! Hi Stefan, As far as I am concerned, the parameter 'space' accepts just one space name to be searched. Perhaps the following improvement request will enable multiple spaces searches in future. http://jira.atlassian.com/browse/CONF-7227 Vote for it and feel free to add yourself as watcher.
Thank you, but I'm still not clear on this. The only option I can see to add any space info is in the field "Restrict to this Space Key'', where the default is all spaces. There is no search syntax option in the macro itself? What am I missing? See: https://confluence.atlassian.com/display/DOC/Livesearch+Macro Thanks so much for trying to help me Davin.
ahhh I see, it's the search syntax you can use. Sorry I thought it was within the macro. Thanks very much for that. I can instruct our users to use that search syntax. I did actually find the 'Knowledge Base Search' macro works by searching multiple spaces, however when you get the results, the page links (ie: 1 2 3 4 Next >>) is not correct. Strange!
You can use the search-box macro to add a search like that to a page.
That is, though, part of the Content Formatting plugin. https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.contentFormattingMacros . (Content formatting has a free version and a paid version with more. This is one of the free ones. However, I think your users will still see the paid macros, but not be able to use them, which may be awkward. You might be able to disable the paid macros so they don't show in the macro browser.)
Update: As Debbie pointed out, the macro now just gives you a choice list allowing you to choose the spaces you specified individually, plus you can choose all space and all personal spaces, so it looks like all specifying ones gets you is that they appear in the choice list, individually. So, this does not answer the question .
Thanks very much. I tried that and it comes up with a drop down selection of spaces I can choose from, but they are still searched separately (ie: ProStix FAQs, ProStix User Guides, ProStix Training Manuals and ProStix Videos spaces) See attached. What am I doing wrong? Thanks
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
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!
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