I would like to get group Names and group members through API.
Like below
https://www.example.com/rest/api/2/search?jql= project in(ABCD) AND issuetype in(XYZ) &fields=issue,summary,worklog&startAt=00000&maxResults=1000
Thanks
Chandra.
Hi Ravi,
To get group names you can use the example below:
https://yourinstance.atlassian.net/rest/api/2/groups/picker
And to get group members, this example:
https://yourinstance.atlassian.net/rest/api/2/group/member?groupname=group-name
You can find more information on the link below:
https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-group-get
Hope this helps!
Regards,Angélica
Hi Angelica,
Many Thanks for your reply.
Please help me on below things.
1. The below picker service is giving only 20 result actually the total is 172.
2. When i'm trying to access below url i'm getting unauthorised.
is there any other way to get group memebers.
Thank You
Ravichand
You can add the parameter maxResults and add how many results you want to see:
https://yourinstance.atlassian.net/rest/api/2/groups/picker?maxResults=172
I tested the second URL and it's working, at the end of the URL you must add the name of the group, for example, site-admins, administrators, jira-servicedesk-users:
https://yourinstance.atlassian.net/rest/api/2/group/member?groupname=site-admins
Many Thanks Angélica.
Regards
It looks like you're new here. Sign in or register to get started.