Forums

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

Create confluence users using csv file or similar format

Sumitra Namburu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2019

Hi All,

Currently we are following manual process to create user account one by one and grant access to a particular confluence space. Can someone suggest if there is any efficient way of doing this through csv file load or something similar that would save time.

 

Thanks,

Sumitra

2 answers

0 votes
Deleted user June 26, 2019

Hi @Sumitra Namburu ,

You need to install the "Confluence Command Line Interface (CLI)" add-on (app) from the marketplace. Please follow the steps from Installation and Use page to install the connector in the Confluence instance. And also you need to install the confluence command line interface(CLI) client in your local system. Please follow the steps from CLI Client Installation and Use page for installation procedure for CLI client.

To add bulk users to confluence instance, You have to prepare the CSV file as attached below screenshot.

user.png

You need to combine the runFromCsv action and adduser action together to add bulk users into the Confluence instance. Please see the below example action.

 

--action runFromCsv --file createuser.csv --common "--action adduser" --debug 

 

To provide the permissions for users to the specific spaces, again you have to prepare the CSV file as attached below screenshot. In the Permissions column, you need to mention all the permissions which you need to apply for a specific group. Please go through the Reference-addPermissions page for different permissions which can be added on a page or space level.

userpermission.png

To provide permissions to the users for the specific space again you need to combine the runFromCsv action and addPermissions action together. Please see the below sample action.

--action runFromCsv --file spacepermissions.csv --common “--action addPermissions” --debug 

For more examples, please go through the examples page.

Regards,
Kishore Kumar Gangavath.

0 votes
Santwana Sarangi {Appfire}
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 25, 2019

Hi Sumitra, 

You can use Confluence cli app in this case. You can have user details in a CSV file and use the app commands to create the user in the confluence. Please refer to the below documentation for more details

https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/10584066/Examples

Hope this helps!

 

Thanks,

Santwana

Sumitra Namburu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 26, 2019

Hi Santwana,

Thanks for the info.

I am pretty new to Confluence, can you please help to understand what is 'Confluence cli app' and how to use this for bulk user accounts creation.

 

Thanks,

Sumitra

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events