When will Confluence REST API allow user creation?

Test Bit June 6, 2017

Currently the REST API does not allow for user provisioning (unlike the Jira REST API). Is there a timeline indicating when features will be released?

2 answers

1 vote
Stephen Deutsch
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.
June 8, 2017

If you're not afraid of getting your hands dirty, Confluence has already supported user provisioning over the API for quite a while, just not the REST API. If you use the JSON-RPC/XML-RPC API, then it is possible (yes, it's "deprecated", but won't be removed until the corresponding features are available in the REST API).

It's not so different from sending a POST request via the REST API, but instead your payload would be the values that are parameters to the functions. Depending on which language you use, support might be built in (e.g. Python has a built-in library for XML-RPC).

https://developer.atlassian.com/confdev/deprecated-apis/confluence-xml-rpc-and-soap-apis/remote-confluence-methods#RemoteConfluenceMethods-UserManagement

You would probably have to do it in a few steps. First one command to create the user, then another to set the user information, then another one to set the profile picture, etc. But definitely possible!

Ronan Dépagne January 18, 2018

That's true. For information, the json format of the input is the following:

[
 {
 "name": "<username>",
 "fullname": "<last name>,<first name>",
 "email": "<email>",
 "url": ""
}, "<password>"
 ]
0 votes
Caroline Bartle
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 8, 2017

The resource to create / provision users isn't currently on the roadmap for the Confluence REST API.

This item is being tracked as a feature request here: https://jira.atlassian.com/browse/CRA-563

Feel free to add your use case and vote to that issue!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events