Anyone on here done a bulk create of users in confluence ?
I found this ENH https://jira.atlassian.com/browse/CONF-19714 which indicates it's not a system feature.
I also found this
https://studio.plugins.atlassian.com/wiki/display/BULKUSER/Bulk+User+Upload
which I might try..
Advice, guidance, horror stories gladly accepted !
Community moderators have prevented the ability to post new answers.
Confluence Command Line Interface has actions to add users and users to groups either in a script or via specially formated csv file. Also, runFromSql or runFromCsv actions can help automate the single user actions.
I agree with Bob, the CLI is an excellent way to do this. The CLI is very capable of doing this and many other amazing things.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bob, I had a play with CLI when I installed our first Confluence instance.. I will take a look..
Still doesn't negate my comment regarding the missing OOTB functionality.. If Atlassian are looking to service the SME intranet market which is what I am looking to use Confluence for then they should provide a bulk loader. A minor gripe, so far I'm chuffed with the product.. as an ex enterprise portal vendor product manager I'd say that was praise indeed ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bob, you should just write a script that adds an answer to every question that says "Use the CLI". 3/4 times it will be the correct answer! :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For those other newbies reading this.. the CLI rocks !
Took me about 15 mins to write a script that created 80 users and added them to a group. Thanks Bob !
Can I ask a simple question ?
I couldn't find the doc for the correct way to format the CSV if I wanted to use addUserWithFile ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
An example is in the shipped examples directory, or its easier to just look here: https://bitbucket.org/bob_swift/confluence-cli/src/tip/src/main/resources/examples . addUserWithFile is the original way this was done, however, the newer run action support is more flexible for doing this and other things :).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
or maybe, all that's missing from the CLI tool is answers.atlassian.com support... just responds with every question automatically with Joe's suggestion "use the CLI"..... ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jason and all others,
I was not able to figure out the right format for the csv files. Is there a documentation somewhere? I did neither find details or an example-csv concerning addUserWithFile nor concerning runFromCsv.
@Jason: you wrote that you wrote a script to import 80 users. Can you give me some hints about your way to the solution. Or even better: can you post the script here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One more question, Bob:
Do you have an idea how special chars (like german umlauts) can be preserved during the "addUserWithFile" action? They all get scrumbled and every line with an umlaut is importet twice....
I used the same encoding like in the example files (UTF-8).
Thanks
Philipp
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good question. Please open an issue with specifics on what you tried. For instance, Windows or not and did you use the --encoding parameter?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I wrote that about seven years ago :) but it has been updated several times by multiple people including myself recently. I'm pretty sure it works correctly up through v3.5 If you are on Conf v4+ I think it does not (yet).
Brendan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks.. I'm on 4.1 so I guess I won't bother trying it..
It seems like the sort of feature that should be built in and that people would be crying out for.. I guess if you *really* need it you would be using an LDAP server which would have that facility..
We don't have an LDAP server (not yet anyway) so I just wanted to load in my 80 odd users using a CSV or something..
Thanks for replying ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I wrote a script for iMacros for Firefox because we use an OnDemand instance, and it was much simpler than trying to convince anyone to spend money on a plugin. http://pastebin.com/KifqV4ZM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.