Issue when creating a repository

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • 43

      Issue:
      In some cases, the create repository option will be greyed when an admin try to create a new repository.

      When we closely verify, we can observe that fields such as "Projects" will be missing, which means the template is not fully loaded

      Workaround:

      • During the repository creation in Bitbucket UI, wait for Project dropdown to completely load.
        • In order to validate the above, please verify if `vendor.js` asset has been completely load by checking in the "Network tab" of the "Dev tools".
      • Use the caching feature of the browser. This will help in caching the large files locally and browser will not download it again and again in each requests. This will help in the UI load in the subsequent requests
      • Use the API provided below as a workaround for repo creation:
        $ curl -u <Username>:<App_password> -X POST -H "Content-Type: application/json" -d '{
            "scm": "git",
            "project": {
                "key": "MARS"
            }
        }' https://api.bitbucket.org/2.0/repositories/teamsinspace/hablanding
        

        Reference: API doc

        1. create repo isse.png
          173 kB
          Lavanya K

            Assignee:
            Unassigned
            Reporter:
            Lavanya K
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: