Uploaded image for project: 'Jira Service Management Server and Data Center'
  1. Jira Service Management Server and Data Center
  2. JSDSERVER-10852

Using wildcard * and % not returning expected results in JQL search

    XMLWordPrintable

Details

    • Bug
    • Status: Gathering Impact (View Workflow)
    • Low
    • Resolution: Unresolved
    • 4.16.1, 4.17.1
    • None
    • Issue View
    • None

    Description

      Issue Summary

      Use of multi character wildcard % or * not returning expected results when used in the middle of the term in JQL search

      Steps to Reproduce

      For issues with the summary of Test ABC-ISSUE and TEST DE1-ISSUE:

      • query with Job *-ISSUE
      • query with Job %-ISSUE

      Similarly occurs when no dash is present after wildcard:
      For issues with the summary of Test ABCISSUE and Test DE1Issue:

      • query with Test *ISSUE
      • query with Test %ISSUE

      Expected Results

      For wildcard queries using * or % to return any result matching the rest of the query.
      In given instances to return all issues with the summary of Test ABC-ISSUE and TEST DE1-ISSUE, or with the summary of Test ABCISSUE and Test DE1Issue

      Actual Results

      For issues with the summary of Test ABC-ISSUE and TEST DE1-ISSUE:

      • using the search query of Job *-ISSUE returns no results
      • using Job %-ISSUE only returns the issues with Test ABC-ISSUE and not TEST DE1-ISSUE

      Similarly occurs when no dash is present after wildcard:
      For issues with the summary of Test ABCISSUE and Test DE1Issue:

      • using the search query of Test *ISSUE returns no results
      • using Test %ISSUE only returns the issues with Test ABC-ISSUE and not TEST DE1-ISSUE

      Workaround

      Modify query to remove the characters after the wildcard: Test * returns all expected results

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ba8ad0b21fe9 Risa
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync