I've found/read numerous "answers" where LDAP users have been deleted by a corporate LDAP admin because they have left the company, been fired, contract was up, etc. The Jira Admin had no time to perform a bulk change.
Some answers alluded to creating a local jira user so a bulk change could be done. Great but what happens if you don't know what ldap users have been deleted so I want to perform a search. Well, if you use the gui to edit the issue, the assignee|reporter fields show up as 'unassigned'. If you display the issue, assignee|reporter fields show the 'userid' and not the full name of the user.
So what JQL syntax can I use to find issues that are assigned or reported by users that have been deleted in LDAP?