Search empty terms returns all items

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 10.5.1
    • Affects Version/s: 10.4.0, 10.4.1, 10.5.0
    • Component/s: JQL Search
    • None
    • 10.04
    • Severity 3 - Minor

      Issue Summary

      Certain JQLs which accept a list of terms, return all issues the current user has permission to see when the list of terms is empty.

      e.g. fooUserField in membersOf(barGroup) where fooUserField is a custom field of type "User Picker & Group Searcher", will return all issues when barGroup is empty.

      Steps to Reproduce

      1. Create a custom field of type "User Picker & Group Searcher" e.g. fooUser
      2. Create an empty group e.g. barGroup
      3. Search using the following JQL
      fooUser in membersOf(barGroup)

      Expected Results

      No issues are returned

      Actual Results

      All issues which the user has permission to see.

      Workaround

      Disable the com.atlassian.jira.search.api feature flag.

            Assignee:
            Will Yasvoin
            Reporter:
            Will Yasvoin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: