I want to be able to provide a search for our department of Confluence content within a group of Spaces. I though that having the categories set for these spaces (to 'dcx') would allow me to make a search on those lines, so I have created a Livesearch macro for this. However category cannot be chosen.
Instead I then choose to create a search within specific Space Keys, but this does not seem to work. Can this field only contain one value? I have tried by listing multiple spaces, separated by comma, and also by semicolon, but the search does not seem to limit the search to these Spaces.
Please provide me with an option so make a search with a set group of Spaces.
Hi @Vishal ,
Confluence bundled macros are limited to a single space.
However if you are also fine using the full search and some CQL you can provide a link to your search action e.g.
YOUR_CONFLUENCE_BASE_URL/dosearchsite.action?cql=space.category%20in%20("test")
will preconfigure the full search to only search in spaces with the label/category test.
Beside that there are some Atlassian Marketplace apps which bundle macros to directly search using CQL - Script Runner for Confluence is one of them.
Best, Tobias
Unfortunately the livesearch macro can only be restricted to one space.
I think you need an extra app, like scriptrunner to make tgis possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.