-
Suggestion
-
Resolution: Duplicate
-
None
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
Lucene has supported queries that start with a * since before 2.0 (http://wiki.apache.org/lucene-java/LuceneFAQ). Being able to seach for "*foo" is really useful and something that often trips people up with JQL.
It seems from checking the code that all that may be required is changing one method?
[mdoar atlassian-jira-enterprise-source]$ find .-name *.java -print0 | xargs -0 grep setAllowLeadingWildcard ./atlassian-jira-5.0-m4-source/jira-project/jira-components/jira-core/src/main/java/com/atlassian/jira/sharing/index/QueryBuilder.java: parser.setAllowLeadingWildcard(false);
- duplicates
-
JRASERVER-6641 Invalid start character '*' in the text search query
- Closed
- relates to
-
JRACLOUD-25745 Allow JIRA search patterns to start with a leading star
- Closed