Workspaces API doesn't return workspaces where the user has group or direct repo access

XMLWordPrintable

    • 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

      1. Create Workspace A and grant user workspace Admin or Collaborative access;
      2. Create Workspace B and grant user direct repo access;
      3. 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.

              Assignee:
              Unassigned
              Reporter:
              Mateus T
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: