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
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.
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.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.