Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,440
Community Members
 
Community Events
168
Community Groups

get user`s group name using REST API

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

1 vote
Brant Schroeder Community Leader Aug 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 

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

solved this issue by this way.

thanks all !

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events