Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use NOT operator in a CQL query?

Mridula Menon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2018

I am trying to use a Content by Label Macro and I want a list of documents which do not have the word COMPLETED in their title.

What must be my CQL query?

Please note that I cannot add the label completed in the documents. Hence the question.

1 answer

0 votes
JanR
Contributor
March 16, 2018

Don’t know how to use CQL in a content by label macro, but searching for pages with title not containing Completed would be:

title !~ “completed” 

I would restrict the search to a space or a parent page to not get too many results.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events