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

SSH clone URL not being returned by REST and Java APIs called by an anonymous user or user without SSH keys

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.11.4, 4.0.1
    • 3.11.0, 4.0.0
    • None

      Stash 3.11 and Bitbucket Server 4.0.0, introduced a change in the SSH implementation where SSH clone URLs are not returned in RepositoryService#getCloneLinks() for anonymous users, causing plugins like the Jenkins webhooks to break. This behaviour will be reverted in Stash 3.11.4 and Bitbucket Server 4.0.1.

      Additionally, Bitbucket Server 4.0.0 introduced a more complicated change in the SSH implementation where the SSH clone URL would only be returned if the currently accessing user had an SSH key configured, or if an access key was configured at the project or repository level. This logic appears to cause connection issues with FishEye and Bamboo, and will be reverted in 4.0.1.

            [BSERV-7827] SSH clone URL not being returned by REST and Java APIs called by an anonymous user or user without SSH keys

            Micah B. made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 123290 ]
            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 1446077 ] New: JAC Bug Workflow v3 [ 3135077 ]
            Marek Parfianowicz made changes -
            Link New: This issue is related to FECRU-6001 [ FECRU-6001 ]
            Owen made changes -
            Workflow Original: Stash Workflow [ 955337 ] New: Stash Workflow - Restricted [ 1446077 ]
            Adam Ahmed (Inactive) made changes -
            Summary Original: SSH clone URL not being returned for anonymous users or users without SSH keys New: SSH clone URL not being returned by REST and Java APIs called by an anonymous user or user without SSH keys
            sguio made changes -
            Labels New: da-regression
            Roger Barnes (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 124155 ] New: This issue links to "Page (Extranet)" [ 124155 ]
            Roger Barnes (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 124155 ] New: This issue links to "Page (Extranet)" [ 124155 ]
            Jeff Thomas made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 128221 ]
            Norman Ma (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]

              nma@atlassian.com Norman Ma (Inactive)
              nma@atlassian.com Norman Ma (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: