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?
Thank you in advance!
I solved my problem.
I need an extra query parameter:
"expand": "groups,applicationRoles"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked for me to get the groups :
/rest/api/2/user?username=username&expand=groups
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline 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.