Forums

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

When I use the JIRA rest could API interface to do add user to group, I can't get the user's account

yewujie March 31, 2021

When I use the JIRA rest could API interface to do add user to group, I can't get the user's accountid. It seems that my JIRA doesn't have the accountid field, and I can't get the accountid when I get the user through other interfaces. Do you know what's going on

 

 

1 answer

0 votes
Prince Nyeche
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 31, 2021

Hey @yewujie 

All you need to do is to be able to identify the user and get their accountId, this is done by first searching for the user using the search user API. Then add the user to an existing group name or you can create a new group and add the user there.

  

Suggest an answer

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

Atlassian Community Events