-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
7
-
Problem Definition
When the Bitbucket Server URL changes, users need to delete and recreate the Application link. However, there is no notification of this requirement.
Suggested Solution
If Bamboo cannot access Bitbucket Server, add a notification to check the Application link URL.
Workaround
Please delete and recreate the Application link and re-save the Repository:
- Go to Bamboo Administration >> Overview >> Application links
- Delete the Bitbucket Server application link from Bamboo
- Go to Bitbucket Administration >> Application links
- Delete the Bamboo Application link from Bitbucket Server
- Recreate the Application link – this can be started from either application and you will be redirected to the other
- Re-save the Repository
If the Repository is still unable to connect, you may need to delete and recreate the Repository
Note from linked ticket BAM-18273:
If you have Plan Branches, these will need to be manually updated in the Bamboo database. To do this, please:
- Stop Bamboo
- Back up your Bamboo database for restore/recovery purposes
- Run the following update query, replacing <old-url> and <new-url> as needed:
update VCS_LOCATION as V set xml_definition_data = replace(xml_definition_data,'<old-url>','<new-url>');
- Start Bamboo
Hi lrochette1,
Thanks for your comment. We have this Improvement request allowing users to bulk update the URLs for Bitbucket Server (FKA Stash) repositories:
Since these work off the Application link, we will still need that to be updated. Recreating the Linked Repository can update the main builds, but not Branch Plans.
I have linked these two tickets. Please also watch BAM-18273 for updates on that Improvement request.
Thanks!