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

Can you use Bitbucket v2 APIs in Bamboo 5.14?

Arjun Gandhi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 19, 2019

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
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 22, 2019

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.

Arjun Gandhi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 22, 2019

@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?

Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 23, 2019

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
AUG Leaders

Atlassian Community Events