Is it possible to add users using REST

Sverre July 19, 2012

We would like to add users by using our onboarding solution and stop adding them manually.

3 answers

1 accepted

2 votes
Answer accepted
Leroy Elendt July 19, 2012

Hello, currently the REST-API is still under development and not the amount methods is still not as high as the SOAP-API provides.

Currently there is no API for REST to add users (here is the latest REST-API) but you can do it with SOAP (look here under UserManagement): void addUser(String token, User user, String password) - add a new user with the given password.

alternative you can write your own REST-API

hope this is what you were asking for :)

Sverre July 19, 2012

Perfect, just what I needed :)

2 votes
Alejandro Conde Carrillo
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.
July 19, 2012

Hi.

Yes, you can add users throug the API. Here you have a link to the section in the documentation: https://developer.atlassian.com/display/CONFDEV/Confluence+XML-RPC+and+SOAP+APIs

There is a section for user management.

Sverre July 19, 2012

Excellent, thanks

0 votes
Abdoulaye Kindy Diallo
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.
July 19, 2012

REST is already enabled by default. For more information on the usage, see https://developer.atlassian.com/display/JIRADEV/JIRA+Remote+API+Reference

Sverre July 19, 2012

Hi Abdoulaye,

Thanks, but the question was "is is possible to add users using REST?

Best,

Sverre

Suggest an answer

Log in or Sign up to answer