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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • None
    • 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. jqlerror.png
          jqlerror.png
          10 kB
        2. jqlwarning.png
          jqlwarning.png
          10 kB

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

                Created:
                Updated:
                Resolved: