Why can't I get groups of user jira? Using rest api

Kudimov Mikhail March 25, 2019

Hi! 

I want to get enumerate the groups of Jira user using GetUser

But I get this response. 

Why the list of groups is empty?

jira.png

Thank you in advance!

2 answers

1 accepted

0 votes
Answer accepted
Kudimov Mikhail March 25, 2019

I solved my problem.

I need an extra query parameter:

"expand": "groups,applicationRoles"

Rodolfo So June 26, 2020

Can you share your commands?

 

Thanks

Nausikaa Geeraert September 24, 2020

This worked for me to get the groups :

/rest/api/2/user?username=username&expand=groups

Like # people like this
0 votes
Deleted user June 18, 2020

..../rest/api/2/groups/picker

Suggest an answer

Log in or Sign up to answer