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.

https://confluence.atlassian.com/jirakb/wildcard-searches-using-phrases-syntax-does-return-results-741739415.html

https://jira.atlassian.com/browse/JRA-43405

 

 

 

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published yesterday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

451 views 6 7
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