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 edited

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
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events