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

'Not in' in a JIRA search excludes empty results - it amounts to 'where <field> is not empty, and not in (range)'.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 5.1.2
    • None

      I have a JAC filter, trying to simply exclude certain Components from my search:

      status = New and component not in (Documentation, "Documentation - Inline and Live")
      

      Unfortunately what that ended up bringing out was something to the effect of 'where component is not empty, but is not Documentation or Documentation Inline etc'. To fix it I've had to use this:

      status = New and (component not in (Documentation, "Documentation - Inline and Live") or component is EMPTY)
      

      This doesn't seem like expected behvaiour to me - I would expect that an empty field would also constitute 'not in'.

              Unassigned Unassigned
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: