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

Bitbucket Data Center - Reinstate user and link to previous Crowd account



We're scratching our heads here wondering if something we're trying to do is even possible, so any pointers would be appreciated...

Short Version

Basically, Bitbucket has deactivated an internal user account linked to an Active Directory user because we moved the AD account into an OU that is out of scope from the underlying Crowd configuration.

When we moved the AD account back into the original OU Bitbucket created a new internal user account and as a result the historical activity by the user is no longer linked to their Bitbucket account, and we'd like to somehow re-link the historical activity to the AD account.

Long Version

  • We've got an on-premise Bitbucket Data Center server which uses Crowd to pull users from our Active Directory infrastructure. The Crowd rules are filtered to just a specific OU, and we had a user - let's say "MYDOMAIN\my.account" who has a number of historical commits and PRs in Bitbucket.
  • The AD account expired and one of our custom processes automatically moved the AD account into a different OU which is *outside* of the Crowd filters. At this point, Bitbucket appears to have renamed the internal user to "x_my.account" and all of their activity now appears with this name.
  • We reinstated the AD account by changing the expiry date and moving it back into the OU linked to Crowd, and the user is now able to access Bitbucket again, *but* it seems to have created a *new* internal user account "my.account" which *isn't* linked to the historical activity, which still shows "x_my.account" as the author.

Is there a way to somehow re-link the *new* Bitbucket "my.account" user to the historical activity which is currently showing the author as the "x_my.account" Bitbucket account?

If anyone can confirm if this is even possible it would be a big help so we'd know whether to keep burning time trying to fix it or not :-)



0 answers

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

110 views 2 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