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?
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.