Forums

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

How to search for multiple values in one field

Jamie
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!
June 17, 2020

I have a custom field to identify customers, each value is 7 characters (3 for country, 1 underscore, and 3 for Bank). I want to search the customer field for all tickets where the customer ends with XYZ. Or I can enter each customer value but cannot get the syntax correct. project = "project" and custom field = ?

1 answer

0 votes
Heiko Gerlach
Contributor
June 17, 2020

Hi Jamie is this a text customfield or Select?

 

In case it is text you can use the jql % operator, since you have the under score in your text, simply ask something like

customfield_xxx ~AAA_% to match the country or ~%_NNN for the bank, where AAA is the country code you ar looking for and NNN is the bank.

 

Cheers

Heiko Gerlach

Accxia

Suggest an answer

Log in or Sign up to answer