-
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
[BAM-20988] Invalid username when attempting to save a Bitbucket Cloud repository when no workspace exists that matches username
Affects Version/s | New: 7.0.3 [ 91527 ] |
Fix Version/s | Original: 7.1.5 [ 93604 ] |
Fix Version/s | New: 7.1.5 [ 93604 ] |
Fix Version/s | New: 7.2.2 [ 93603 ] | |
Fix Version/s | Original: 7.2.5 [ 95291 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
Fix Version/s | New: 7.2.5 [ 95291 ] | |
Fix Version/s | Original: 7.1.5 [ 93604 ] |
Support reference count | Original: 15 | New: 17 |
Support reference count | Original: 14 | New: 15 |
Support reference count | Original: 13 | New: 14 |
Affects Version/s | New: 6.10.4 [ 89690 ] |