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

This widget could not be displayed.
This widget could not be displayed.

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.

 

 

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

124 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you