JQL to search multiple values in part number field

I'd like to better understand how to search multiple values in the part number field.  If I were to search for part number 1234 AND 4567 in the part number field, I would need the result to list records with either part number in the field.

 

The next question will be how to perform the same search with a wildcard; i.e. 123* or 456*

1 answer

0 vote

Hi Mike,

The number field only supports =, >, <, >= and <= operators. It does not support wildcard searches.

For your use case, you might want to consider using a text field custom field that supports wildcard searches.

Thank you

Bhushan

Here is my solution.

AND ("Part Number" ~ "1500-3650*" OR "Part Number" ~ "1500-3700*")

 

Seems to have worked so far.

Glad you got it working. In that case, the Part Number field must be a Single Line Text custom field type and not a Number custom field type. Can you please take a look and confirm?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,183 views 13 19
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot