I am executing the following REST API call
/usr/bin/curl -k -s -u admin:xxxx 'http://a100-1441-186e.ldn.swissbank.com:8080/rest/api/2/group?groupname=jira-users&expand=users\[0:100000\]'
For some reason it will only return the first 50 group members and no more. Do others get the same issue?
That is expected. You have to use pagination to get more users. See https://docs.atlassian.com/jira/REST/latest/#d2e1951
You can page through users list by using indexes in expand param. For example to get users from index 10 to index 15 use "users[10:15]" expand value. This will return 6 users (if there are at least 16 users in this group). Indexes are 0-based and inclusive.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.