Filter Profile list macro
Problem
I want to filter the profile list macro but it doesn't work.
Cause
Generally, in the User Profiles for Confluence app, the Lucene query syntax is used for the search criteria. However, this syntax does not work as intuitively as the Confluence Query Syntax.
Solution
Besides the documentation linked above there are added some examples in the extended search part of the documentation.
To exclude profiles with NOT (or !), you need a positive term first. For example, if you want to exclude the department sales:
Department:[a TO zzzzzzzzzzzzzzz] NOT Department:"Sales"
The first term shows profiles of all departments. A similar query can be used for fields with text in them. If it's numbers, use "0" instead of "a" at the beginning.
If your search term contains several words, use "...":
Department:"Team Accounting"
For further examples, please have a look at our documentation and the related articles below.
Related Articles