Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Rest API call to get the list of users from specific group

Sandesh TM
Contributor
September 27, 2023

I am getting the below error in rest API call for getting the list of users from the specific group.

 

{
    "errorMessages": [
        "The group name can not be empty"
    ],
    "errors": {}
}

Here is the API call I am using 

http://localhost:8080/rest/api/2/group/member/?jql=groupname="group name"

1 answer

2 votes
Adam Rypel _MoroSystems_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 27, 2023

Hi Sandesh,

according to https://docs.atlassian.com/software/jira/docs/api/REST/9.11.0/#api/2/group-getUsersFromGroup , you should use this:

http://localhost:8080/rest/api/2/group/member?groupname=group-name

 "jql" parameter should not be used. 

So for example:

http://www.example.com/rest/api/2/group/member?groupname=jira-administrators

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events