I manage a large JIRA instance that reguarly needs to have users removed as employees come and go.
I can source employee information from our HR system.
I need to compare these to JIRA users and where a JIRA user exists, but not in our HR system, update the JIRA user so that they are move to a leavers JIRA group (without deleting the user).
Is there a method in the JIRA API to retrieve a list of users? Previously I've done this by querying the JIRA database user table directly. It seems more elegant to do this via the API. I would then compare the list of users with their data in the HR system and only modify the JIRA users who have left. Much more efficient than checking every user in JIRA and HR.