JIRA wild-card text search not working


4 answers

If I understand this right, there was a bug in Lucene that was fixed recently, and may result in the wildcard dropping from the query. The page lists a workaround.






Thanks for the info. However, this bug seems to only apply to wildcards within phrases, with the workaround being to split into individual terms. My search is already using individual terms, not a phrase.

I want to use an Advanced Search such as the following:  text ~ "filename_*.h" 

I expect this to find any issues that mention the source files:  filename_1.h, filename_2.h, filename_3.h, etc. However, this is not working. I can change the * to a 1, 2, or 3 and find issues, but any variation of the wild-card version I've tried does not return any results.

Any ideas why this doesn't work?

I'm encountering the same problem. Did something recently break? What version of JIRA are you using? (I'm running JIRA 7.0.2)

UPDATE: I just noticed that my wildcard searches are only broken on hyphenated words. They work fine on words that have no hyphens. I wonder if the underscores in your words are what is causing your problem. I have submitted a bug report (https://support.atlassian.com/servicedesk/agent/GHS/issue/GHS-59251).

I am using version 6.4.12. I agree that it has something to do with special characters. I've encountered similar problems with periods that separate hierarchical names.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

731 views 5 16
Read article

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