Via REST API of bitbucket we can get the list of repos.
I did find this link which has python script to get the list of all repositories https://www.middlewareinventory.com/blog/bitbucket-list-repositories/
Maybe with few modifications you can make it work according to your use case.
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events