JQL for deactivated users

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Won't Do
    • Component/s: None
    • None

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

      Currently there's no way to easily query for all issues relating to deactivated users.

      The closest JQL I can think of is using the memberOf() function, but it does not allow for memberOf(EMPTY).

      Sample JQL:

      assignee in (memberOf(EMPTY)) and status not in (Resolved,Closed)
      

      or maybe it's own function:

      assignee is deactivated and status not in (Resolved,Closed)
      

      This leads to my workaround.

      Alternative

      With that current setup, you can put all deactived users in a group that has no permissions. Maybe call this deactived users group. Then you can query:

      assignee in (memberOf("deactived users group")) and status not in (Resolved,Closed)
      

            Assignee:
            Unassigned
            Reporter:
            David Chan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: