Bulk remove users from Confluence?

ITops123
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.
February 15, 2012

I have copied over our production instance of Confluence to a sandbox environment in preparation for upgrading to Confluence 4.0. This, of course, includes the entire directory of users who have access to our Confluence production instance.

I need to keep email notifications on in the sandbox for testing purposes, but don't want users who are not participating in the testing to get notifications from this environment. What I'd like to do is bulk remove all users from the test instance and manually add in about 10 people who will actually do the testing.

QUESTION

Is there a way to bulk remove users? We have about 600 active users, so I don't want to remove them manually.

4 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
Bob Swift OSS (Bob Swift Atlassian Apps)
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.
February 15, 2012

Confluence Command Line Interface removeUser action together with runFromSql or runFromCsv.

Kjell Lauren September 19, 2012

Would there be some example of how to use the removeUser?

Or even better, is there a macro or plugin that could be used for bulk remove/deactivate users?

1 vote
Annicka Rosengren May 15, 2013

Hi

We have a plugin that could be used for this purpose. It s also good to have in the future to ensure only active users have an active confluence license.

You can read more here:

http://www.tieto.com/industries/telecom/tietos-solutions-network-equipment-providers/tietos-solutions-network-equipment-providers-rd-efficiency-excellence/development-platform-service/atlassian-services/atlassian-plugins

BR

Annicka

1 vote
Nathan Chere May 15, 2013

1) The link is dead.

2) Needing to pay for a plugin to do this is a cop-out.

3) The plugin, as far as I can tell, is no longer supported anyway.

This is a pain to deal with manually. How hard can it be to have a bulk disable screen where you check boxes or something and do them all in one batch instead of having to page through 800 odd users, open their details one by one and disable them manually?

Side-note: my original answer was more diplomatic but when you type in an answer then click the "log in or sign up to post" button, the subsequent login page doesn't take you back to the page you came from and you lose what you typed.

Bob Swift OSS (Bob Swift Atlassian Apps)
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.
May 15, 2013
  1. Link updated. Atlassian has removed the old Plugin Studio, so old links will not re-direct anymore :(.
  2. You can do similar programming without cost. But the thing is it can be done if you want a solution. And you can certainly complain to Atlassian about the lack of a built in UI for it.
  3. Confluence CLI is supported.
William Wilson June 15, 2023

What you were seeing was the start of the hell that is Atlassian Marketplace. 

If Atlassian is going to outsource to a marketplace, they need to start adjusting their core licensing to reflect all the features we've lost to the marketplace.

Additionally, if more of these features are going to continue to be shunted to the marketplace, can we get licensing based on the number of users actually using the add-on? 

I sincerely do not want to pay $2500/year for an add-on based on my company's size, when maybe 2 others and myself will use it once or twice a year. 

We have one add-on that is only used by a third of our company, but we are paying for the entire company to use it. That's not financially smart.

With all the upstart competitors that are at Atlassian's doorstep, it's time they figure all this out, or start losing larger and larger chunks of the market, to more affordable options. Yeah, we might lose some conveniences, but going from a $200k/y (or more) bill to one that is significantly smaller is becoming increasingly worth it. 

0 votes
David Haldane August 17, 2020

I have found a non-plugin way to do this.

Nevermind, it's apparently been "patched."

Megan Hutchinson January 9, 2023

@David Haldane any luck finding another way to do this?  Managing deletes one by one so painful! 

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events