I'd like to do a code search within a project. As far as I can see from the docs, this should work:
project:project_name thingToSearchFor
But I get no results, even though the "thingToSearchFor" is in a repo, in the project. Does anyone know the magic syntax to get this working? We have hundreds of repo's and many projects, so I really need to be able to limit search to those repo's in the project only.
This is via the https://bitbucket.org/search page...
Thanks
Going to answer myself as this isn't explained in the docs... The "project:" modified uses the project short code. So if you go to https://bitbucket.org/yourOrg/workspace/projects then select your project to search in, the URL that it returns will have the short code at the end.
Use this code to then do the code search.
easy eh?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.