Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

TeamCity - Filter Branches and Build Branches options missing from project

Daniel White
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!
September 1, 2022

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

1 vote
Daniel White
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!
September 6, 2022

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