API call to endpoint /2.0/worskspace/{username}/permissions/repositories is unusable for large team accounts

XMLWordPrintable

    • 9
    • Severity 2 - Major
    • 3,982

      The following API call is unusable if there are a large number of repositories or account has over 1000 users on the account, the API call times out:
      https://developer.atlassian.com/bitbucket/api/2/reference/resource/workspaces/%7Bworkspace%7D/permissions/repositories

      When you try to perform a call to a repository, you get a response like this:

      #!bash
      
      {"type": "error", "error": {"message": "Something went wrong", "id": "15240f74db7141bc8cb8764f7b2aa966"}}
      

      Using pagination does not help either, the same problem occurs.

      Viewing the users or groups in the UI will also time out for accounts with over 1000 users due to the same API call timing out

            Assignee:
            Unassigned
            Reporter:
            Leonardo M
            Votes:
            8 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: