Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to restore users in the bamboo-admin group - (deleted by accident by not selecting)

We deleted by accident the bamboo admin users by adding an extra user and not selecting all the users in the "existingusers in group" pannel.

We cannot restore the database in the production environment so we want to restore to another server and manueally retrieve all the users in the postgresql tables.

Can anybody help with the location of the tables or provide us with a query that gives us the users in the bamboo-admin group.

1 answer

0 votes

Look at LOCAL_MEMBERS table

Only 1 local user which is in the admin group.

In our acceptance environment it's the same. i think that the rest are AD users.

then check EXTERNAL_MEMBERS table

Thanks Alexey.

I started with that table and found out the rest ! Thanks in advance.

Here's my query that lists the groups and their members:

SELECT em.extentityid, em.groupid, ee.name, ee.type, gr.groupname
 FROM public.external_members em 
 inner join public.groups gr on (em.groupid=gr.id)
 inner join public.external_entities ee on (em.extentityid=ee.id)
 order by gr.groupname, ee.name;

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

200 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you