Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-25745

Allow JIRA search patterns to start with a leading star

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? 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);
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: