Add a lot of user at once

Hi all,

My company has just purchased confluence for 500 users. Now my boss want to insert user into it.

May i know if there is anyway to add a few users at once?

I was thinking to use SQL query to insert users, anybody can teach me how to do this?

Thanks in advanced.

2 answers

1 accepted

This widget could not be displayed.

Confluence Command Line Interface has addUser and related actions. Use in combination with runFromSql if you has a database to draw from.

Hi Bob, i have successfully insert row into the 'confluence.cwd_user' using SQL statement.

However, now the problem is the '' is not auto generated and i manually input the id in.

I try to add the user now from the Confluence, it gives me error. saying the is duplicated (to those i have manually inserted).

I do not know where confluence store this counter. I want to set the counter to a bigger number.

Or any work around?

Can help?

It's not a good idea to insert directly into the database - you really should revert to the backup you took before you did this, and do your user additions properly, via the API (using Bob's CLI is by far the best approach)

Hi Nic, thank for your reply.

i have done a roll back and do manual insert. But anyway i will explore the confluence CLI, it seems interesting.

Thanks guys.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

171 views 18 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you