It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo Github branches only show 30 branches and do not load in all branches

We are using Bamboo 5.6.1 build 4410 and have noticed that the repository configuration using github only bring in 30 branches and do not show the branches that we are needing to build from.

 

Our product license is valid but we are out of maintenance.   Is there some form of work around that allows us see all of our branches?

3 answers

0 votes
0 votes

This has been a long standing issue that has finally been addressed in Bamboo 5.10.0:

To receive the fix, you'd need to update Bamboo accordingly, which implies that you need to renew your Bamboo license so that you are eligible for maintenance

Workarounds

Both aforementioned issues feature (somewhat quirky) workarounds provided by affected users, for example:

Here is a workaround: right click the select box and going to inspect element. Where it shows all the <option>branch</option> just rename one of the "branch" fields with your desired branch and hit enter. Then without refreshing the page select that option and save.

 

 

I typically dont like to go into SQL and make the change but I did find that you can alter the XML_DEFINITION_DATA in the dbo.VCS_Location table and set the branch that you need as a work around.

Stop Bamboo

Backup bamboo db

 

update the xml_definition_data column for the repository being used.

 

    <github>

      <username>OurUserName</username>

      <password>jEncryptedPassword</password>

      <repository>Github Repo</repository>

      <branch>branch name</branch>

      <useShallowClones>true</useShallowClones>

      <useSubmodules>false</useSubmodules>

      <commandTimeout>180</commandTimeout>

      <verbose>

        <logs>false</logs>

      </verbose>

      <fetch>

        <whole>

          <repository>false</repository>

        </whole>

      </fetch>

    </github>

 

restart bamboo and check.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

659 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you