The team pages each have a label. When I list the labels using commas to separate the labels the search only looks at the first labeled page and returns a not found if the team member name entered in the search is not on that page but on a labeled page later in the list of labels. Each team has a roster page that has a label of aaart, bbart, ccart, etc.
Example: Search field contains John Doe. Labels list in macro includes aaart, bbart, ccart. If John Doe is on the aaart team page it lists the team page he is found on. If John Doe is on the bbart it returns a no results found message.
Why can't I search for a user's name?
Looks like you are using a label-based search macro in Confluence, and you are experiencing an issue where the search is only returning results from the first labeled page in the list. This is likely due to the way the search macro is analyzing the label list.
Try to modify the search macro to use a more advanced search query that can handle multiple labels. For example, you could use the OR operator to search for the user name on multiple labeled pages.
Here is an example of how you could modify the search macro:
{search: label=aaart OR label=bbart OR label=ccart AND username=Rebecca123}
This search query will return results from any page with the label aaart, bbart, or ccart that also contains the user name Rebecca123.
This response inputs might also carry some research outcomes from the open source / blogs / user guide
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards
Thank you for answering. I understand what you are saying but don't see anywhere to do an advanced search in the macro. The macro says to enter a comma separated list of labels to filter the search by. That is what I have done. It doesn't look like it searches past the first label in the list though. Using OR or AND in the list of labels doesn't change the way the search is working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for positng the outcome -
Let me try with different syntax to eliminate the commas to see if that makes a difference..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.