Using OR statement in JQL where issue key doesn't exist doesn't return values

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: None
    • Component/s: JQL

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Steps to reproduce
      • Go to advance search in JIRA.
      • Insert a JQL that looks like:
        labels="somelable" OR key="issue-123"
        
      • Ensure that the issue key above doesn't exist, while the lable exists, and you will get the below error:

      Expected behavior

      A warning that the issue doesn't exist would be sufficient. For example, searching for the following:

       assignee="drumdrum" OR key="TEST-111"
      

      Where the assignee doesn't exist, but the issue key exists, produces a warning like:

      A similar warning should be produced for issue keys as well.

        1. jqlwarning.png
          jqlwarning.png
          10 kB
        2. jqlerror.png
          jqlerror.png
          10 kB

            Assignee:
            Unassigned
            Reporter:
            Abdulrazaq Mohammed Ali Omar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: