Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10478

Clone URL is empty when no ssh key is available for the user and a mirror URL is selected

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 5.7.0, 5.3.7, 5.5.6, 5.6.3, 5.4.6
    • 5.3.2, 5.6.2
    • None
    • None

      Summary

      The clone URL is empty (blank) when the following conditions are met:

      • no ssh key is available for the user, therefore SSH is not available as a clone protocol
      • a mirror URL is selected

      Steps to Reproduce

      1. Setup a user with no ssh key
      2. Setup a mirror
      3. Attempt to perform a clone and switch to one of the available mirrors from the "Clone from" drop down

      Expected Results

      The clone URL is prefilled.

      Actual Results

      The clone URL is empty.

      Notes

      Switching to a different mirror or to the upstream server will not populate the clone URL.
      To obtain the upstream server URL, select "Primary server" from the "Clone from" drop down and refresh the page.

      Workaround

      The following alternatives can be used:

      • manually retrieve the mirror URL
      • add an SSH key to the user

          Form Name

            [BSERV-10478] Clone URL is empty when no ssh key is available for the user and a mirror URL is selected

            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 2492731 ] New: JAC Bug Workflow v3 [ 3137238 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Frank Doherty made changes -
            Remote Link New: This issue links to "Bitbucket Server › Pull Request Build › BSERV-10478-func-test-for-mirroring-clone-repo-dialog (server-syd-bamboo)" [ 366396 ]
            Paul Thompson (Inactive) made changes -
            Fix Version/s New: 5.4.6 [ 78105 ]
            Fix Version/s Original: 5.4.5 [ 77793 ]
            Frank Doherty made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Closed [ 6 ]
            Frank Doherty made changes -
            Fix Version/s New: 5.7.0 [ 76390 ]
            Frank Doherty made changes -
            Fix Version/s New: 5.3.7 [ 77792 ]
            Fix Version/s New: 5.4.5 [ 77793 ]
            Fix Version/s New: 5.5.6 [ 77794 ]
            Fix Version/s New: 5.6.3 [ 77795 ]
            Frank Doherty made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Frank Doherty made changes -
            Remote Link New: This issue links to "Bitbucket Server › 5.3.X › bugfix-BSERV-10478-empty-clone-url-mirroring-clone-repo-dialog (server-syd-bamboo)" [ 343289 ]
            Isabella Stephens made changes -
            Remote Link New: This issue links to "Bitbucket Server › Pull Request Build › bugfix-BSERV-10478-empty-clone-url-mirroring-clone-repo-dialog (server-syd-bamboo)" [ 343173 ]

              fdoherty@atlassian.com Frank Doherty
              ccurti Caterina Curti
              Affected customers:
              2 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: