-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Workspace - Membership, Workspace - Permissions
-
None
-
1
-
Severity 3 - Minor
-
29
Issue Summary
The /2.0/workspaces endpoint for the Bitbucket rest API is returning only workspaces where the user making the API call has Admin or Collaborative team access, but it is not returning any workspace where the user has a group or direct repo access.
Steps to Reproduce
- Create Workspace A and grant user workspace Admin or Collaborative access;
- Create Workspace B and grant user direct repo access;
- User makes GET request for api.bitbucket.or/2.0/workspaces endpoint.
Expected Results
The request should return both workspaces, A and B.
Actual Results
The request returns only Workspace A.
Workaround
The user will be able to see both workspaces by accessing bitbucket.org UI.
There are no current workarounds to get the same information through the API.