How to add user/s to a group through REST API?

Zoe Park March 20, 2014

Hi,

I wonder how to add user/s to an existing group? Or how to add users when creating a group through REST API?

Thanks in advance.

4 answers

6 votes
DavidM December 10, 2014

Send a POST to /rest/api/2/group/user?groupname=my-group, and pass a JSON string such as {"name":"someuser"} as the payload.

https://docs.atlassian.com/jira/REST/latest/#d2e197

Nathan Neulinger May 16, 2020

Additional note for future visitors - the group name specified in that request has to exactly match the upper/lower/mixed case of the group in the system. The other REST group APIs are case insensitive. 

0 votes
Zoe Park March 23, 2014

Anyone has the answer?

0 votes
Zoe Park March 23, 2014

Anyone has the answer?

0 votes
Timothy
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 20, 2014

Here is the JIRA REST API.

Thorben Nolte May 15, 2020

You're the worst kind of person tbh. 

Like # people like this

Suggest an answer

Log in or Sign up to answer