Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,388
Community Members
 
Community Events
177
Community Groups

Can I change the BitBucket API used?

I'm using Bamboo 5.8.1 and have recently tried to integrate with Bitbucket. This is the error I get when trying to enumerate the repositories:

Failed to load data from Bitbucket. com.atlassian.bamboo.plugins.hg.bitbucket.api.BitbucketApiException: {"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/"}}

Is there any way to make this version of Bamboo use the Bitbucket v2 API short of upgrading the former?

2 answers

1 accepted

1 vote
Answer accepted

Hi @Andrew Clark ,

Bitbucket v2 API was announced in 2018 - https://bitbucket.org/blog/new-bitbucket-cloud-v2-apis whereas Bamboo v5.8 is from 2015 - https://confluence.atlassian.com/bamboo/bamboo-5-8-release-notes-705792391.html. Perhaps you should considering upgrading Bamboo to a most recent version so the chances of incompatibilities with dependencies will be much lower.

Bamboo v5.8.1 is quite an old version. In the same way it is no longer a supported version as described in https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html

At the same time, the error above suggests you were trying to fetch something related to Mercurial. It is important to notice that Atlassian already announced removing Mercurial from Bitbucket Cloud next year (2020) - https://confluence.atlassian.com/bitbucket/end-of-support-announcements-for-bitbucket-cloud-833985475.html  

Kind regards,
Rafael

0 votes

If Bamboo upgrade is not at your plans, switch to Git/Mercurial repository type and provide connections details from Bitbucket Cloud

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events