Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-20102

DVCS in Jira Software is unable to use Bitbucket Cloud REST API v1 which has been deprecated

      Issue Summary

      When trying to use a Jira Software Server to connect to a Bitbucket Cloud site using the DVCS, users are unable to complete this integration. The Bitbucket Cloud recently deprecated all v1 rest api endpoints per https://developer.atlassian.com/cloud/bitbucket/deprecation-notice-v1-apis/
      Which in turn is generating errors for Jira Admins trying to complete this process.

      Environment

      • Jira Software Server 7.12.1
      • Bitbucket Cloud (all BB Cloud sites by June 30, some sites already have deprecated this)

      Steps to Reproduce

      1. Follow steps in Connect Bitbucket Cloud to Jira Software Server - Atlassian Documentation
      2. In step #2 when trying to complete integration from Jira

      Expected Results

      integration is successful

      Actual Results

      {"type": "error", "error": {"message": "Resource removed", "detail": "This API is no longer supported.\n\nFor information about its removal, please refer to the deprecation notice at: https://developer.atlassian.com/cloud/bitbucket/deprecation-notice-v1-apis/ "}}
      

      Notes

      Bitbucket Cloud API rest APIs are changing due to GDPR regulations and personal data protection. The DVCS plugin has an exemption to these API changes, however this issue is caused by a bug in the exemption logic in Bitbucket Cloud. They are aware of the problem, and already have a fix for it. This fix was deployed EOD 21 June 2019 PDT .

      Jira versions: 7.6.13, 7.13.3, 7.13.4, 8.0.0, 8.0.2, 8.1.0, 8.2.0, 8.2.1, 8.2.2 are impacted; all other Jira Software versions the integration with Bitbucket Cloud will work.

      This does not impact Github and Github Enterprise integration.

      Additionally, we are working on an updated version of the DVCS plugin that will be compatible with the new API from Bitbucket Cloud. It should be available in early July.

      Workaround

      No current workaround

            [JSWSERVER-20102] DVCS in Jira Software is unable to use Bitbucket Cloud REST API v1 which has been deprecated

            Bitbucket Cloud fix as mentioned in the description is in production now. 

            Gaurav Joshi added a comment - Bitbucket Cloud fix as mentioned in the description is in production now. 

            Gaurav Joshi added a comment - - edited

            We have looked into this problem further and found out that the root cause of this problem was due to an issue on Bitbucket Cloud side last week with OAuth 1.0. This issue is now resolved and you should be able to work with DVCS properly. 

            Update: We have found a further problem. This issue is still open. Please see the notes in the description for the update.

            Regards,

            Gaurav Joshi

            Developer, Jira Software

            Gaurav Joshi added a comment - - edited We have looked into this problem further and found out that the root cause of this problem was due to an issue on Bitbucket Cloud side last week with OAuth 1.0. This issue is now resolved and you should be able to work with DVCS properly.   Update: We have found a further problem. This issue is still open. Please see the notes in the description for the update. Regards, Gaurav Joshi Developer, Jira Software

            Due to GDPR regulations and the personal data protection they require, we've needed to make some changes to the API's that Bitbucket Cloud has available. These changes will have an impact on the DVCS Connector plugin.

            To make sure that you're not impacted, we recommend you either upgrade DVCS Connector plugin to the relevant version, or upgrade your Jira Software instance to the version that contains new DVCS Connector plugin. 

            Details - https://confluence.atlassian.com/jirakb/upgrading-the-jira-dvcs-connector-plugin-967900869.html 

            Anton Genkin (Inactive) added a comment - Due to GDPR regulations and the personal data protection they require, we've needed to make some changes to the API's that Bitbucket Cloud has available. These changes will have an impact on the DVCS Connector plugin. To make sure that you're not impacted, we recommend you either upgrade DVCS Connector plugin to the relevant version, or upgrade your Jira Software instance to the version that contains new DVCS Connector plugin.  Details -  https://confluence.atlassian.com/jirakb/upgrading-the-jira-dvcs-connector-plugin-967900869.html  

              Unassigned Unassigned
              aheinzer Andy Heinzer
              Affected customers:
              0 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: