Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,111
Community Members
 
Community Events
168
Community Groups

TeamCity - Filter Branches and Build Branches options missing from project

Attached are two images of two different projects. One is showing the various branches of the connected bitbucket repo correctly, while the other is not. When you go to the "..." next to "Run" to do a custom build, and go to the Changes tab, the first is showing Branch Options--the second is not.

I do not see any difference in the version control settings that could be causing this discrepancy. Could it be a permissions issue? Something to do with the way the respective bitbucket repos were setup? Wondering if anyone has experienced this and what they did to remedy it.

 Branches.PNGNoBranches.PNG

1 answer

Got it narrowed down to the git config not tracking the other branches on the project that's not showing them. 

Edit

What did not work:

+:refs/heads/*

+:refs/feature/*

What did work:

+:refs/*

+:*

Still not sure why we couldn't specify heads or feature as most people suggest and still pick up the branches.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events