The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

get user`s group name using REST API

강무호
August 11, 2022

hi all,

 

i`m trying to get user`s group name for some integration.

how do i get user`s group name using REST API??

I ask for your advice.


Thank you.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Brant Schroeder
Community Champion
August 11, 2022

@강무호 Welcome to the Atlassian community

This will get you what you are looking for: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-user-groups-get 

0 votes
강무호
August 11, 2022

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

solved this issue by this way.

thanks all !

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events