Forums

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

CQL filter for text that starts with wildcard, not just that contains wildcard

Chris Bray
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'm trying to create a CQL filter on title, I'm only looking for pages that start with a wildcard pattern, not that contain the pattern.

For example, while looking for all pages whose titles start with the letter "A", I tried using a "With title" filter of "A*". This does find all pages that start with "A", but it also finds all pages where any word in the title starts with "A" -- for example, it also matches a page with the title "This Is A Page".

From reading the docs, it looks like under the covers the "With title" filter is using the Lucene "CONTAINS" filter, though I can't figure out if what I'm trying to do is possible.

Anyone have any ideas? Please help, thank you!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events