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
Asked Dec 06, 2018 in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,537 views 21 17
View question

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