Cloud agent setup cannot be done when we have a lot of repositories. We have hundreds of bitbucket repositories and the setup modal doesn’t show many repos.
Steps to Reproduce
Onboard a bitbucket account with 100s or 1000s of repos.
Try to setup an environment
You’ve hit a known limitation we’re actively working on. With very large Bitbucket workspaces, the repository list in the environment setup dialog loads in pages, and right now it cannot page through the entire workspace, so repos deeper in the list never appear. The search box also only filters repos that have already loaded, which is why it can’t find them.
There unfortunately isn’t a reliable workaround today for repos that never make it into the list. The team is working on server-side repository search for Bitbucket, which will let you find any repo by name without loading the whole workspace.
I’ve added your report to the tracked issue and we’ll follow up here when this improves.