Forums

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

How to exclude history from text field searches using CQL?

Ted Nienstedt
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!
January 28, 2021

I'm experimenting with Text searches of pages using CQL.  It appears that matches are occurring for previous page versions.  It would be nice to control whether previous page versions should be included or not.

For example, I sometimes add To-Do sections to pages.  When all To-Dos are done I delete the section.  When using CQL to search for pages containing "to-do" I get matches for pages that previously had "To-Do" sections, but no longer do.

space.key = "<project-id>" and (text ~ "to do" or text ~ "to-do")

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events