My company uses Confluence for our documentation, and one of the suggestions was to label a section of Archived documents; and then be able to search by excluding that label.
There seems to be no way that I've found to do that so far, I can label things, but it seems the Confluence itself does not allow for the exclusion of a label when searching. I tried to use the NOT command, with no luck.
Does anyone have a macro or any idea how this could be done?
So I looked into the problem and found out that CQL has a confusing syntax and was not able to figure out answer easily.
To exclude label you just need to put minus sign before the label.
Example -