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

Unassigned Users Not Being Returned When Searching for Issues Not Assigned to Specific User

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

      I have a JQL search which is supposed to return all issues which I am watching but not the assignee or reporter. The original search I wrote is:

      status != closed and watcher = "myusername" and reporter != "myusername" and assignee != "myusername"

      However, it appears that the parameter "assignee != "myusername" " does not return issues that are completely unassigned, which means I had to alter the search to be:

      resolution = EMPTY and watcher = "myusername" and reporter != "myusername" and (assignee != "myusername" or assignee is empty).

      This seems like bad logic to me; if an issue is unassigned, its by definition not assigned to me. Can this be fixed?

            [JRASERVER-36767] Unassigned Users Not Being Returned When Searching for Issues Not Assigned to Specific User

            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2844385 ] New: JAC Bug Workflow v3 [ 2927643 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2581894 ] New: JAC Bug Workflow v2 [ 2844385 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1533672 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2581894 ]
            jonah (Inactive) made changes -
            Description Original: I have a JQL search which is supposed to return all issues which I am watching but not the assignee or reporter. The original search I wrote is:

            status != closed and watcher = "myusername" and reporter != "myusername" and assignee != "myusername"

            However, it appears that the parameter "assignee != "myusername" " does not return issues that are completely unassigned, which means I had to alter the search to be:

            resolution = EMPTY and watcher = "myusername" and reporter != "myusername" and (assignee != "myusername" or assignee is empty).

            This seems like bad logic to me; if an issue is unassigned, its by definition not assigned to me. Can this be fixed?
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This bug report is for *JIRA Server*. Using *JIRA Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/JRACLOUD-36767].
              {panel}

            I have a JQL search which is supposed to return all issues which I am watching but not the assignee or reporter. The original search I wrote is:

            status != closed and watcher = "myusername" and reporter != "myusername" and assignee != "myusername"

            However, it appears that the parameter "assignee != "myusername" " does not return issues that are completely unassigned, which means I had to alter the search to be:

            resolution = EMPTY and watcher = "myusername" and reporter != "myusername" and (assignee != "myusername" or assignee is empty).

            This seems like bad logic to me; if an issue is unassigned, its by definition not assigned to me. Can this be fixed?
            jonah (Inactive) made changes -
            Link New: This issue relates to JRACLOUD-36767 [ JRACLOUD-36767 ]
            Hannes Obweger (Inactive) made changes -
            Component/s New: Issue Navigation & Search - JQL [ 43398 ]
            Component/s Original: JQL [Deprecated] [ 12922 ]
            Labels New: ho-jql-backend
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 665435 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1533672 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v5 [ 642470 ] New: JIRA Bug Workflow w Kanban v6 [ 665435 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v5 [ 621121 ] New: JIRA Bug Workflow w Kanban v6 [ 642470 ]
            Oswaldo Hernandez (Inactive) made changes -
            Component/s New: JQL [ 12922 ]

              Unassigned Unassigned
              8ddfbafaefcc Haddon Fisher
              Affected customers:
              1 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: