Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Operator ~ is not supported in JQL searches

Hi All,

 

I'm writing a small plugin, and i've used TextCFType.

When I'm searching for the values in JQL, i can use the = operator, but when trying the ~ operator I'm getting the The operator '~' is not supported by the XX field.

Any ideas why?

 

2 answers

Same problem. I have the search template already set to Free Text Searcher. Still getting the same error.

Hi Howard,
I have same problem and it looks that (in my case) root cause are 2 CFs with same name but different type. I have one text field (single line) and one numbered field. Both have same name. If I rename numbered field then I can use ~ operator in JQL for text field. If I change name back, then ~ operator is not available for text field.

 

BR
Petr

Like Howard Nedd likes this

Hi again,

if you have same problem like me (2 CFs with same name), you can use CF Id instead of field name, then you get ~ operator.
Something like: cf[12345] ~ "text"

BR
Petr

Hi

Go to custom fields, then edit custom filed from gear icon, then check for Search Template of TextCFType to be set to Free Text Searcher.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you