How to add user as admin to bitbucket application from database level

kedar June 24, 2020

1.can you plese help to add an existing user as admin to bitbucket application through database.

2.how we can retrieve the groups info from bitbucket database.

 

Thanks,

Kedar P

1 answer

1 accepted

0 votes
Answer accepted
Dave Theodore [Coyote Creek Consulting]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 25, 2020

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.

kedar June 25, 2020

Thanks,

We are doing with test instance and database was empty.one 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.

Dave Theodore [Coyote Creek Consulting]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 26, 2020

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
TAGS
AUG Leaders

Atlassian Community Events