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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

306 views 1 4
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