Basically I want to find out which users can be safely removed from my JIRA instance.
An additional requirement is to not only find users which have no reported or assigned issues but also users that are referenced by a project role or permission scheme.
I assume that I can do something like this only via a custom SQL query.
An addition to the question would be what happens if I delete a user that still has incoming references in the database. I guess there are more references than just "reported/created", "assigned", "project role" or "permission".