Cannot add team to branch protection

Hello, I’d like to report a bug regarding branch protection push restrictions.


When using the search field in push restrictions, I expect teams to show up along with users, however none do.


  1. create a branch protection pattern
  2. select “Restrict who can push to matching branches”
  3. search for a team in an org
  4. observe the team not showing up


The engineering team exists within the org, has access to the repository and is not a subteam.

Interestingly enough, I also noticed a few weeks prior, that subteams were not able to be assigned to push restriction lists. I am not sure if this is intended behavior or not.


My org has been using teams on branch protection for a long time, and it’s suddenly stopped working over the last couple days. I will refrain from any further speculation on what might be the cause.

1 Like