Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to retrieve group or users inside group

gents
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 14, 2020

I'm trying to get from our Jira server a particular group but I get always an unhautorized answer.

https://<server name>/jira/rest/api/latest/group?groupname=<group name>

How can I solve it?

Or how can I get all users in a group from our Jira server using Rest API?

 

 

1 answer

0 votes
Christos Moysiadis
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2020

Hello @gents 

your call is wrong.

To take the group:

Try this: https://<server name>/rest/api/2/group?groupname=<group name>

-----

To take the users:

Try this: https://<server name>/rest/api/2/group/member?groupname=<group name>

Regards

Christos

gents
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 16, 2020

That's not really the issue - it seems a permission issue :)

Suggest an answer

Log in or Sign up to answer