User association with JIRA records

we did a lot of Jira instance consolidation under one during which there are many users whose account have got created under delegated LDAP, Jira internal user and also might be in LDAP groups whether they are active or not i want to understand whether they have associations to any artifacts/records in Jira, is there a way to find this ?

The reason is, of in case they dont have any records associated to their account I can clean up those accounts. This is what I am trying to achieve.