Retrieve All JIRA Users via SOAP in Python

I’m looking to extract a complete list of users along with their associated groups in JIRA without directly pulling group names from the database. Since there isn’t a dedicated ‘fetchAllUsers’ method available, I’m unsure if this task can be achieved. I contemplated using a function like ‘fetchProjectSchemesByID’ and then filtering the returned groups, assuming it gathers every group. I’m using JIRA version 4.3.4 with Python 2.7.1+ and would appreciate any insights.

i had success using searchUser to list accounts then using getGroups to map each user. it’s a bit inefficient and may need paging but works fine on jira 4.3.4, in my exp.

I faced a similar challenge when I needed to retrieve all users without direct access to a fetchAllUsers endpoint. My solution was to employ a wildcard search parameter using the searchUser method, which returned a broader list of accounts. Following that, I iteratively retrieved the group associations for each user. While it resulted in multiple API calls, it worked efficiently in our setup. Ensuring proper pagination in your requests is essential, especially for larger installations. This method, though slightly indirect, proved effective and reliable in practical applications.