4

Supposed I have a git repo managed by Atlassian Stash. Can I search all files in all project for a specific text? is there such a tool out there, already?

If not, do you think it would be build-able using the API for Stash?

3 Answers 3

2

Code search is now a built-in feature of Bitbucket Server (formerly called Stash). This was added in 2016. See https://blog.bitbucket.org/2016/03/24/introducing-code-search-for-bitbucket-server/.

2

There is no such functionality in Stash itself (as discussed in the Atlassian bugtracker at STASH-2851), but there is a third-party plugin in the marketplace and on GitHub: https://github.com/palantir/stash-codesearch-plugin

It does, however, require an ElasticSearch node running alongside and doesn't seem to be trivially installable.

0

There's a paid easier version to install on the marketplace currently:

https://marketplace.atlassian.com/plugins/com.mohamicorp.stash.search-for-stash/server/overview

1
  • Could you possibly expand your answer to include some basic instructions on how to use this software?
    – Burgi
    Mar 28, 2016 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.