microsoft / azure-pipelines-extensions

Collection of all RM and deployment extensions

Home Page:http://www.visualstudio.com/explore/release-management-vs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bitbucket API version upgrade is required

chernovol opened this issue · comments

The Release Management Extension is rendered completely unusable by the deprecated API in Bitbucket artifacts.

Failed to query service connection API: 'https://api.bitbucket.org/1.0/repositories/............/'. Status Code: 'Gone', Response from server: '{"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 /"}}'

@v-mohithgc, what is the status of the issue? Could I expect the fix? or could you suggest any workaround?

Hi @chernovol , can you please provide us the logs for the Release pipeline created (Ensure to set the variable system.debug value to true.)
and also let us know the task version of 'Download Artifacts- bitbucket' extension you are using. Currently it is in 15.157 version.

Hi @chernovol, could you please let us know if the issue still persists and if so can you share the debug logs to my mail:
v-dmerugu@microsoft.com

Hi @Deekshitha981 @v-mohithgc
some more details, I was able to connect to Bitbucket Artifacts, but the desired file cannot be selected in the Azure PowerShell task.

Screenshot 2024-04-23 140300

Failed to query service connection API: 'https://api.bitbucket.org/1.0/repositories/my-repo/project1/src/96da0d58177368abf721402477099242d2fe743b/'. Status Code: 'Gone', Response from server: '{"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/"}}'

hi @Deekshitha981 and @v-mohithgc , any updates?