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 add user as admin to bitbucket application from database level

1.can you plese help to add an existing user as admin to bitbucket application through database. we can retrieve the groups info from bitbucket database.



Kedar P

1 answer

1 accepted

0 votes
Answer accepted

I would highly advise not doing this.  Either do it through the WebUI or REST API.

As a general rule, any time you think you need to directly manipulate the database, it means you're going the wrong direction.


We are doing with test instance and database was of our colleague installed bitbucket 6.7.1 trail version and configured the database and AD with bitbucket trail instance but he didn't provide admin access to any user the thing is we cant able to login as admin and he left the organisation. so, we should take care of those things so,we need admin access with that trail application which he configured.

Fortunately, Atlassian has documented the procedure to restore admin access. My recommendation is to use that process, give yourself admin access, and then disable it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,880 views 0 7
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