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,364,541
Community Members
 
Community Events
168
Community Groups

Can you use Bitbucket v2 APIs in Bamboo 5.14?

We have Bamboo version 5.14 and there are errors in attempting to detect branches because the resource no longer exists. It looks like this is related to the transition to v2 of the Bitbucket API. Can this version of Bamboo use v2 Bitbucket APIs or would a transition to a new Bamboo version be required?

1 answer

0 votes

Hi @Arjun Gandhi

I assume you are talking about Bitbucket cloud (bitbucket.org). 

You can still use Bamboo 5.14 with Bitbucket cloud but in this case, you will need to configure your repositories as Git repositories, instead of Bitbucket Cloud ones. This will allow you to check out your code as expected. Repositories already configured should work as expected, but new configurations or updates will require the API that was changed due to GDPR compliance.

You can check the details about this change in this article:

I hope that answers your question.

@Daniel Santos thanks for the answer here. Just to be clear, you mean to add a new linked repository and use Git instead of Bitbucket Cloud right? And the issue of detecting branches would be resolved in this case since it would be using the git API?

Hi @Arjun Gandhi,

Yes, you are correct. Configuring the repository this way you will not be using Bitbucket Cloud APIs, just normal git API. Due to this detecting commits and branches will occur through polling (which is configured by default to 180s for commits and 300s for branch detection.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events