Given a Bitbucket workspace consisting of multiple repositories I'd like to search for a String occurrence in each of them. Here is how my bitbucket looks like:
Company / Projects / Departament
repo1
repo2
...
repo 456
By String occurrence I mean a dependency declaration as a string
com.mycompany.oldlib
which is to be replaced with
com.mycompany.newlib
So basically I want to find what repos use the library and replace it with a new appropriate one.
Is there an API or any other way in Bitbucket to perform such search for a string occurrence in code? Checking out all of the repositories by hand and grep
ing the code is not really a solution since there are hundreds of repositories.