-
Bug
-
Resolution: Fixed
-
Low
-
6.10.4, 7.0.3, 7.0.4
-
None
-
17
-
Severity 3 - Minor
-
Issue Summary
Invalid username error will be presented when attempting to save a Bitbucket Cloud repository (or testing connection) when no workspace exists that matches the username.
Steps to Reproduce
- Change your Bitbucket Cloud workspace that matches your username to a different ID:
- Attempt to create a Bitbucket Cloud Repository in Bamboo
- Fill all fields and hit Save
Expected Results
Repository is saved successfully.
Actual Results
Invalid username is presented
The below warnings are shown in the $BAMBOO_HOME/logs/atlassian-bamboo.log file where foobar is the username used:
2020-06-23 03:24:34,743 WARN [http-nio-8085-exec-14] [RESTCall] Response from GET https://api.bitbucket.org/2.0/workspaces/foobar/ (404) 2020-06-23 03:24:35,282 WARN [http-nio-8085-exec-14] [RESTCall] Response from GET https://api.bitbucket.org/2.0/users/foobar/ (404) 2020-06-23 03:24:35,819 WARN [http-nio-8085-exec-14] [RESTCall] Response from GET https://api.bitbucket.org/2.0/teams/foobar/ (404)
Notes
The list of repositories still loads successfully, the problem only occurs when attempting to save.
Workaround
Create a workspace (or rename an existing one) in Bitbucket Cloud to one that matches your Bitbucket username:
- is related to
-
BDEV-15917 Loading...
- Mentioned in