How to exclude history from text field searches using CQL?

Ted Nienstedt 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