Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-25745

Allow JIRA search patterns to start with a leading star

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • None
    • JQL
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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);
      

              Unassigned Unassigned
              73d805a2526b MattS
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: