I have a question regrading: getting list of users who are direct members of a Jira group.
Firstly I wanted to clear some things using the below information that I would like to call as scenarios:
Getting the List of Users from a Jira Group: When you get the list of users from a Jira group, you retrieve the direct members of that group. These are the users who are explicitly added to the group through Jira's user management interface or by using the appropriate API calls. The list obtained in this way includes only the users directly assigned to the group.
Currently I am using Get list of users API, but I am "Getting the Effective List of Users from a Jira Group" (Case 2 in the above scenario).
I want a way for "Getting the List of Users from a Jira Group" (Case 1 in the above scenario).
Please let me know if there is a direct API or a filer that I can apply on the above mentioned API.
You can get the list of Users in a single group from API
Use Get instance id/rest/api/3/group/member?groupId={groupId}
mention Group id and you will get all the list of users in that particular Group.
Is there a way to get the groupId from the group name?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. if you are Jira admin if you open the Group in the URL you can see the ID of group
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.