Ability to search source code? (BB-39)

Issue #2874 resolved
Jon Langevin
created an issue

Bitbucket does not support searching the source code of a repository.

It seems that source code search (and really, a repo-wide search that would cover code, wiki, issues, etc) would be extremely useful. Once repo-level searching is implemented, then maybe it could be extended to global Bitbucket search functionality across all available repos as well (similar to what Github allows, but hopefully without Github's lacking ease-of-use, as searching a specific repo at Github is definitely not intuitive).

EDIT: Please click to Vote for this issue (available to the right), rather than adding a +1. Only add a comment to this thread if you have something to say other than +1 or "me too". Otherwise you're just spamming the rest of us.

EDIT 2: Obviously this request isn't drawing enough attention from Bitbucket, as we have almost 1000 votes right now, 300+ comments, and no resolution or updates from Bitbucket. So, let's turn up the heat!

Post on Twitter, Facebook, Google+, and tag Bitbucket.

Tell them you want this feature. Use hashtag #bbynosearch

per @turtledovepdx: "two most current work arounds: http://crandellws.bitbucket.org/reposearch/ and http://sourcetreeapp.com/download/ seem to be the best way (other than grepping your local repo.)"

Official response

  • Szilard Toth

    Hi everyone,

    We've released the code search beta today.


    25% of all Bitbucket repositories have been indexed and are ready to be searched. If your code hasn't been indexed, yet, you can head to the search bar in Bitbucket's side navigation and click "View code search results", then "Enable code search" on the search results page to get on the waiting list. We are throttling requests during the Beta period to scale gradually over time but most accounts should get indexed in less than 2 hours.

    To read more about code search head over to our blog Introducing code aware search for Bitbucket Cloud

    Thanks, Szilard

Comments (652)

  1. Dylan Etkin

    Hi Jon,

    You are right. We do not allow source code searching at the moment.

    This is something we are looking into and we hope to have something in the near to medium future.

    Stay tuned :)


  2. joel

    This would be awesome. It always makes me angry that the easiest way for me to find a piece of code in a repo is to clone it to my dev machine and grep around.

  3. André Thieme
    • changed status to new

    It would be already helpful if at least the most recent version could be searched in a first step. If it is too expensive to feature the powerful search as requested by this issue, then maybe a first step could be to concentrate the search on the last commit of the youngest push?

  4. Jeff D

    Really looking forward to seeing this implemented.

    I'm away from my development machine at the moment, but a lightbulb just went on in my head and I thought of what might be causing a bug that's been plaguing my project. I opened the bitbucket repo to find all the places a particular method was being called and slowly realized there was no way to search for it! Nooo!

  5. Glenn Kirbo

    It has been over a year since this issue was raised and github has had this feature for quite a while. What gives guys? I thought bitbucket / atlassian was supposed to be the brand with more features for enterprise types? Somebody on your product management/devel team needs notice this issue! If its a cpu/IO cost problem, then make it a premium feature or cap usage.. but seriously get on it please!

  6. Arne Solheim

    We're currently using Atlassian FishEye for insight into our source code. We want to migrate from SVN+FishEye over to Bitbucket, but losing the possibility to search within the sourcecode via FishEye would be a large impac, as we use this functionality extensively today. Moreover: Atlassian sent the following information to current users of SVN+FishEye in Atlassian OnDemand in October 2012: "In one year, Atlassian will retire the Source + Review bundle, bringing our hosted Subversion offering and FishEye/Crucible OnDemand to an end". (http://go-dvcs.atlassian.com/display/EOL/Source+Review+Bundle+End+of+Service) - hopefully support for search within the repositories in Bitbucket will be in place before users are forced to end using FishEye+SVN in Atlassian OnDemand. So: A huge +1 from our team as well.

  7. Jonny Nott

    This is pretty crucial for us (at least for private repos) in terms of moving private repos from GitHub .. +1

    Could a simple implementation not just be to wrap some markup around 'git grep' output?

  8. Jan Uhlir

    I have just found that I cannot search my sources. Not even by file name! That is quite disappointing. System without search functionality? 21st century not yet? P.S. I had issues searching on company's GitHub pro account too, but that should not serve as an excuse.

  9. wilddogdesign

    +1 Wow, 2 years on and no response from atlassian; I guess they don't pay attention to these threads, but for what it's worth I want to add in my plus 1. I was about to move all my repos from github to bitbucket, for the integration with the rest of our ondemand account, but I went to do a code search on bitbucket to find out this BASIC FUNDAMENTAL feature is not present in bitbucket. No way will I move now; I would rather stay with github at $50/month then lose code search. Come On Atlassian, throw us a bone, what is the plan regarding this?!?! It isnt that hard to implement.

  10. crandellws

    I agree Corné it does not do a good job for actual code searching, as with typical "Google searches" the symbols get dropped and only the words are are actually searched...but it is better than nothing.

  11. Justen Stepka

    Official update:

    At this time we do not have an estimate for when this feature will be implemented. Our focus for the short to medium term, will be to provide SSO and better user management with our OnDemand JIRA and Confluence products. I would estimate that the SSO integration and bi-directional oAuth integration between Bitbucket / JIRA / Confluence / Bamboo will take us well into 2014, at which time we will re-evaluate this decision.

    Cheers, Justen -- Bitbucket product manager

  12. Sebastian Berm

    Well they say it will take to around middle (let's assume end of) next year, so I take it they just don't want to implement this. Heck, I think quite a few people would want to pay for this premium feature if you don't get the entire Jira suite shoved down you throath?

    Perhaps someone can get searchcode to allow you to enter your login (paid ofc) so it can access the non public stuff as well...

    (Oh and... +1 :D)

  13. Lauri Rooden

    git grep could be suitable for searching from one repo, search engine for over all public repos.

    I do not think the search would be so popular feature that requires an index, rate limiting for backend protection could be enough (without statistic it is hard to predict).

    PS. codesearch.com is available through GoDaddy Auctions :p

  14. Altin P

    I am about to move our company back to Github due to this issue alone! Even though we vastly prefer your pricing model on private repos.

    Atlassian, is there any reason I should not pull the trigger right now??? After 3 years, you are either incredibly incompetent technically, or incredibly incompetent in communicating with your users. Actually the latter is a given already, and I should probably ditch you just on that count alone. The move will take me half a day, in this day and age you have no captive audience. You've made me feel that even doubling my costs on Github will be ok, since I know what I get for the difference.

    Are you not the least bit ashamed?

    EDIT: I wrote the above before reading Justen's official update. Pathetic! I'm glad that I was not overreacting. Agile this is not!

    Goodbye, Justen! In fact, it's probably time to start weaning ourselves off all Atlassian. Good luck with the sclerosis.

  15. Gajus Kuizinas

    Just that I started moving our repositories to BitBucket, this.. ? That's an unpleasant surprise. However, to be fair to BitBucket, their SourceTree Git GUI client provides a convenient way to search source code.

  16. Michael Brown


    Search on private repositories is a critical requirement for my use case - allowing semi technical team members to search and make documentation changes safely in browser - without resorting to "git training or install this program" .

    Combined with your in place editor and you would have a very powerful compelling platform.

    It's a feature I'm willing to pay for (and will be alas to github today). but I'll keep a watch on this ticket for updates.

  17. Cheng Xu

    Bitbucket team,

    This is a feature which has been voted by the user for two years, and almost everyone think this is a critical feature. Are you guys going to just ignore the user's requirement?

    I can not believe it.

  18. Greg Lincoln

    I have a feeling that Bitbucket is largely in maintenance mode.

    They certainly don't seem to be interested in communicating with what's left of their community. It's disappointing.

  19. Cheng Xu

    so disappointed about that. really. Bitbucket, as a loyal user and paid user, i really feel frustrated.

    The so called Product manager above, I can feel your pain. Cause you don't know how to face with your users here.

  20. Sam Christie

    I'm amazed that this isn't a top priority for the dev team. Even a simple code search would be a good start. I migrated from GitHub just assuming that a feature like this would be available (I used it all the time). I was shocked to find this open issue after a lot of frustrated attempts at searching my private repos. I guess I'll need to move back over to GitHub for now.

  21. Joseph Nix

    Everybody keeps saying they're going to switch to Github. That sounds great for my git repos, but what am I to do for my hg repos? I love hg, and don't want to give it up for some things. What good competitors does bitbucket have for hosting hg repos? Do they have this feature? Surely they have drawbacks too, but this is pretty important to me.

  22. metadirective

    I was just doing a quick googling as I didn't find that basic feature (silly me). Seeing that this ticket is nearly 3 years old doesn't give a good impression in comparison to Github.

  23. Anonymous

    We would love this feature as we have this usecase very often. Please let us full-text-search over all of our repositories. Voted...

  24. Ben Madore

    Switched from Github to a paid Bitbucket account. Very disappointed in the lack of some basic functionality - as well as Atlassian's complete disregard for the features requested by their users (seems to be consistent across all of their products). They could at the very least spend 5 minutes a month responding to feature requests. I suppose they are too busy tweaking the JIRA UI - over and over and over and over and over...

  25. Sebastian Berm

    The following was requested by me in a private support ticket:

    At the moment, I'm looking for a piece of code someone wrote about 1.5 years ago, from which it's known what it would contain, but due to the fact I have > 100 repositories, I am unable to find it. This could be solved by providing a (non realtime?) search service to allow you to search in all private repo's and all files to see where the function is defined or whatever... 1. Can you tell me if something like that is on the roadmap, and how long that will still take?

    The response was as follows: Bitbucket does not have a code search function, and we have this feature request that you can vote for or leave your comments in it. All new feature requests are implemented according to our policy. But there's a simple file search, more details here.

    My response: The feature request in question recommends moving away from Bitbucket, due to the fact it's not being implemented in Bitbucket. Is that what Atlassian is recommending we do?

    The response of Atlassian: To be honest, this feature is not on the road map for some time, as we are now focusing on improving the Bitbucket current features and it's SSO integration with other Atlassian products to provide more and better set of integrated tools. If it's any help, you can use our free Git/Hg client Source Tree which provides tools for searching code as well.

    I did not respond to that, but I doubt this is ever going to happen. If our team gets any bigger, it might be wise for us to invest in something that contains every HEAD of every repo we own and a grep thingy that mails the output back to the requester or just moving to GIT / Github...

  26. Ben Tatham

    We run Opengrok locally, that lets us search the HEAD of each repo quickly. We have a cron job to update each repo nightly. I'm sure there are many other similar tools as well.

    Bitbucket's integration with JIRA/Bamboo, along with the pricing model (especially compared to GitHub), is awesome. This one feature is certainly not a show stopper, in my opinion.

  27. Altin P

    Ben Tatham, at least for roving consultants working on client machines, e.g. our company, it is very much a show stopper. And I think it goes beyond that setup too.

    If no other choice were available, this would be a moot point. Happily though, that's not the case, and last night we finally moved our repos to GitHub - in a month, we'll delete our BitBucket account entirely. A few hundred dollars more per year, sure - which we could have used elsewhere - but when you know exactly why you're paying the extra buck, sometimes it can actually feel good to spend it. Forgetting about this irritation might be reason enough...

    And given Sebastian Berm's post, Atlassian clearly know they are losing customers due to the absence of this feature AND the weird mishandling of communications over it - and they are apparently fine with that. You can't tell programmers that, whatever other priorities, it should take 3+ years to implement this!

    All in all, not a serious proposition. Worse, it's forcing us to wonder whether recent JIRA & Confluence bloat are due to similar attitudes as well. Time to check for nimbler competitors in the market.

    Bye, BitBucket!

  28. Otto Hansen

    Almost 3 full years later and we can't get working search of the source code? I don't need to be able to search the full commit history...but not being able to search the current version seems pretty lacking.

  29. Greg Pagendam-Turner
    I've started the petition "Atlassian: Implement source code search on Bitbucket.org" and need your help to get it off the ground.
    Will you take 30 seconds to sign it right now? Here's the link:
    Here's why it's important:
    Numerous people have suggested that this would be a very useful feature.
    Many competing source code repositories support searching across code and commit history.
    Please sign and get your friends colleagues to sign.
    Greg Pagendam-Turner
  30. Andrew Stilliard

    Hi @Greg Pagendam-Turner, I had originally signed your petition, but I have now removed it. Originally i thought it was great, a formal way to get the feature noticed... but isn't that this page? Kind of made me think, why replicate this on a petition? Also I've realised a petition probably is not the best way to go about this, it feels like you are trying to force the company to implement this, but ultimately its their own product. There are several other big source control systems out there that offer this, and although yes i would love this feature, i think trying to force / petition them is going to leave this community worse off. I personally choose to use bitbucket because i like some of its features and that we get free private repo's, i don't have this feature yet, though git grep and other terminal based tools get me there instead. If i needed it really bad though, i'd move to a different system that has this feature, such as Github. Sure i'd have to pay for my private repo's but i'd get the feature. Anyway I hope this explains why i removed my signature on your petition, thanks.

  31. Alex Corn

    @Andrew Stilliard I agree with you entirely. Honestly, change.org has become a joke because of useless petitions, and a petition there won't force Atlassian's hand any more than this issue will. Just click the vote button at the top and we have to hope that Atlassian decides that 567 customers wanting a feature that the competitor offers is enough reason to implement it.

  32. Daniel Underwood

    I will agree that this feature is something that would be highly desirable. It relatively easy to use grep if I have the repo cloned, but it would be nice to have the ability to search repos from anywhere or searching repos that I don't have the desire of cloning. It's also sad that three years ago, someone was assigned and we were told that it may be coming in what was then the near to medium future.

  33. Hady Ahmed

    @Bachir El Khoury Basic in what sense? There's nothing basic about this, essential yes but it's not just a "basic" feature.

    @Alex Corn I doubt Atlassian would be looking at this anytime, if they do end up doing so it wont be because their competitor offers it. Missing this feature is hardly a deal breaker as opposed to say, not offering free private repos anymore.

    They don't need source code search to stop users from leaving, they're already here because Bitbucket is more often dubbed as the free alternative to Github for private repos when someone asks about one.

  34. Hady Ahmed

    @Bachir El Khoury No worries, but there's little point in such discussions of dictionary definitions. However, I'm afraid you leave me no other choice but to explain the following, given you actually took the time to Google the definition. I wasn't even referring to its definition but the mere use of the word to describe a feature of that size...

    You should know that words in English have connotations as much as they have denotations. Connotations are implied meanings or what the word suggests. The word basic is more often used to imply the lack of sophistication or complexity when used as an adjective.

    As opposed to it's dictionary definition (denotation) which you were kind enough to mention here. Hope that was useful to you. Good luck.

  35. Janne Lehtimäki

    +1 This issue is similar to search by date functionality in duckduckgo. Useful unimplemented feature. in their case i think there was no date data available. Code search would be useful with large repos when you just need to find something but dont want to download it entirely only to search it locally.

  36. Jeremy Helms

    I'm amazed this feature/issue has been open for 3 years. In the time it's taken BitBucket to evaluate this feature request, GitHub has grown from 1 million to 10 million repositories and IMO cornered the open source market for code hosting. It goes without saying, code search should be a core feature for a code hosting service...

  37. Daniel Sokolowski

    @pitr no point switching to Github as it does not let you search forks and their commit messages (hence partially the reason why everyone is re-inventing the same wheel!) - so Bitbucket be a leader, and get your digital bum into gear and implement this!

  38. E.T.Cook

    @Daniel Sokolowski - ummm, what? That's a bit like saying it's not worth replacing your broken down car with a new one because it doesn't include a moonroof. I'd be happy with just plain repo search. I definitely don't need the ability to search forks for that feature to be useful.

  39. Anonymous

    3 YEARS on this request? You own JIRA, etc and searching is awesomr. This should not be too hard to implement Atlassian!!!

  40. Andrea D'Amore

    I'm interested in this topic and I'm watching it but the noise is too much. I'd like to only hear back from the ticketing system when there's some useful news, not the usual "+1" or people's whining.

    Can comments be locked on this ticket while keeping voting and watching capabilities enabled?

    It would then be unklocked if and when the issue'll be actually worked on.

  41. Joel Kinzel

    I agree, this is desperately needed. 3 years ago a "near to medium term" was placed. Has this fallen by the wayside? This could the biggest feature missing in BitBucket/Stash.

  42. Brandon Vulaj

    This is unfortunately a showstopper for us. We were mid-migration to BitBucket, and after realising that this feature wasn't available, we have decided to hold off and investigate other products in the meantime.

  43. Anonymous

    @Brandon Vulaj I can't remember if atlassian stash provides this functionality or not but maybe you want to look there first. In general the atlassian products IMO are above and beyond any other tools out there with the exception of this. A work around is to search code in an IDE, but if you are looking historically then you would have to checkout a much earlier history.

    Another thing I prefer about stash that bitbucket does not do is allow you to put conditionals for pull request. For example you can put criteria around code reviews such as forcing 2 or 3 "approvals" before code can be merged to master. This forces a good code review process and makes sure your developers engage in them if they want their code to be included in releases. ;-)

  44. Brandon Vulaj

    @ShawnLunny Yeah, it is unfortunate, because we really like the Atlassian suite of products, and would like to stay within the suite. IDE searching doesn't work for us, as it requires developers to have our entire project list checked out, which is substantial. We also have non-developers who may be utilizing this feature. Stash is great from what I've seen from playing around, but unfortunately it does not support HG repositories as BitBucket does.

  45. Arawn

    3 years and still no eta? No wonder I didn't see it. You wouldn't without sorting by vote first. 3 years is a FAR cry from "near to medium future". Starting to think choosing BitBucket for my project was a mistake.

  46. BrenBarn

    Interesting that some big names are getting in the game. But those providers seem to only support Git. Free hosting of Mercurial repos is the big draw of Bitbucket for me.

  47. Arawn

    All my repos are svn or git based.

    Slightly OT but... ...I wish I could get their vile source control to stop reactivating itself on my copy of vs2013. I disable it and somehow it randomly re-enables itself to waste my time.

  48. Jason Baumgartner

    This has been open for over 3 years, it's the third highest voted issue and no ETA or status update? Why should other people use Jira tools if Atlassian themselves don't use their own tool?

  49. Colin B

    I thought I was doing something wrong when I had trouble doing this. Is there really no way to search private repos remotely? Not even with some addon or workaround?

    What I really wanted to do was search through a previous revision through a pretty web GUI (not checkout grep, repeat)


  50. Arawn

    The fact such a stink has to be raised just to try and get some kind of update as to if this is even being worked on, tells me I should stop using bitbucket.

  51. Elizabeth Southwell

    OK, let's be honest here to everybody raising a stink in the comments. This is no easy task, it takes much time and effort to put together without causing problems or service interruption. I'd rather have no promise for x date than a promise of x date they can't keep because of some unexpected issue.

  52. Arawn

    Don't excuse their lack of communication.Remaining silent about it for multiple years after saying it would be looked into is NOT ok.

  53. Brandon Vulaj

    There are already open source projects that anyone with a locally hosted DVCS repository can use, like OpenGrok. We'd really love to move to BB, but when it doesn't offer as many features as our local server, we'll never justify it.

  54. Thomas Gagné

    This is an important feature, if one of the goals of a developer is to be able to leverage code that's already written, being able to find code is critical to leveraging it in future projects. IDEs awkwardly handle multiple open projects (especially as many as we have), and requiring each programmer to have all 200 locally so they may search it themselves is so suboptimal it is a fool's errand.

    We might build our own server to provide this capability, but that defeats the goal of using SaaS.

    GitHub charges by the repository and Kiln has excessive per-user pricing. I anxiously await Amazon's CodeCommit to see if it will include a search feature.

    Without this feature our company will bolt from BitBucket as soon as an affordable opportunity presents itself, it being apparent that Atlassian seems to have abandoned BitBucket to maintenance mode.

  55. E.T.Cook

    @Thomas Typically, I'd consider it uncouth to mention another service, but since BB doesn't seem interested in implementing this feature, have you tried Gitlab?

  56. Ike DeLorenzo

    Thanks to all who have contributed to this issue. We are actively pursuing adding code search to Bitbucket. Code search has become a very important focus for us, and something we want to implement and deliver in a way that meets user expectations.

    It is a great help to the Bitbucket team that, as we work on building this feature, we have the advantage of a large volume of user input from this issue board and from other user channels. Search is overdue. We are working hard to deliver it in the coming quarters, and to make sure it will have been worth the wait.

    Ike DeLorenzo, PM , Bitbucket

  57. Ben Madore

    Thanks Ike, appreciate the confirmation that this is coming! Going forward I'd love to see Atlassian turn over a new leaf and be a little more communicative with your customers. While I applaud Atlassian for inviting feedback and feature requests from your users - I am not sure that you guys understand just how frustrating it is as a customer to be asked for feedback, and then summarily ignored for years on end. Having literally hundreds of increasingly agitated comments over 3+ years on the third most requested feature with no communication back from the company is just not a respectful way to treat your customers. You don't have to always give your customers everything they demand - but the quickest way to drive folks away is make them feel like they aren't heard or respected. Just a few thoughts. Here's hoping this is a start to a more open and communicative Atlassian!

  58. Daniel Sokolowski

    @ike_delorenzo that is fantastic news.

    You may want to take a look at Gitlab (https://gitlab.com/) - your competitor - which has great multi faceted search which does source code, wikis, etc. They are actually our top choice at the moment we are evaluating (previously you were) however their product stability and quality has me concerned, so even though theirs is a free solution I believe it's worth a wait for Bitbucket to catch up :)

  59. David Rickey

    "In the coming quarters"? I find it hard to believe your customer base is still as large as it is. For something that was requested 3 1/2 years ago, has tons of upvotes, and literally all of your competitors have I find "soon tm" to be very disheartening.

  60. Jamon Holmgren

    @David Rickey Their customer base is large because for the number of repos we have, we'd be paying $800/month at Github, but I'm paying $50/mo. at Bitbucket. And the cost of change is too great to switch to Gitlab. So it's a matter of "good enough most of the time" and very affordable.

    Not a ringing endorsement, I realize.

  61. Rafael de Paula Herrera

    It would be great to have this feature. GitHub does it and this is very a basic feature, so BitBucket should have it too.

    Off course I am telling this as a customer point of view, I know that a great effort on indexing and constantly re-indexing data must be made... But well, it is part of the game.

  62. Magne

    +1 and I agree with Blake Hood's statement.

    Besides, I would like to be able to not only search the source code in the repo, but the entire history of the source code. So that if I find that some database field is missing, I might find out if it were ever added a migration and corresponding model methods for it.

  63. Stephen Lewis

    What's the progress on this? This issue has garnered over twelve hundred votes and has been open for upwards of three and a half years. It is and has been a blindingly obvious shortcoming of your platform for a very long time.

  64. Abid Omar

    Unluckily! I have also given up on this feature and turning to Github. I thought search was something very basic and instinctive to have in an application. god I was wrong.

  65. Eric Tucker

    Does Atlassin ever implement features their users request? Holy **** this is riduclous.

    The only reason we switched to Bitbucket was because GitHub doesn't support branch level access controls. If it weren't for that you guys would be useless.

  66. Tlou Rammala

    Dylan Etkin Hi Jon, You are right. We do not allow source code searching at the moment. This is something we are looking into and we hope to have something in the near to medium future. Stay tuned :) Dylan

    2011-07-22 #

    This is 2015 - About four years already? This issue was possibly never a solid consideration by Bigbucket.

  67. Free Beachler

    On the one hand, code search is very convenient and can save time, especially in situations of laziness and archived code. On the other hand, it's a security risk because the provider now has to secure the search engine database in addition to the repo. Convenience and security are classic enemies; I prefer security in this situation. Every worthwhile IDE can handle search. I'd probably be OK with not having this feature on Bitbucket, and getting off my butt to use my IDE to search the code; and if I can't do that find another way.

  68. Free Beachler

    Ryan Mortier sorry to point out some security concerns. I don't think it's such a good feature request after all because...if I was already worried about my private repos on Bitbucket...with a search engine layer on top my expectation for secure code on Bitbucket should be lower.

  69. AlienBit

    Hi Jon, You are right. We do not allow source code searching at the moment. This is something we are looking into and we hope to have something in the near to medium future. Stay tuned :) Dylan 2011-07-22

    Lol, stay tuned.

    I really hate the startup mentality that some groups adopt. ADD SOME DAMN CODE TO THE SITE TO MAKE SEARCHING POSSIBLE, FFS!

  70. Arawn

    I'm now in the process of removing all my projects from Bitbucket and steering my company away from Atlassian products. Not just over the multiple years it took to get an update on this, but many other issues that have popped up since. The broken broker system, the non-support, the features I can easily find and nearly every alternative to Bitbucket. Its just not worth waiting around here any longer, things are not getting better anytime soon. The only thing Bitbucket has going for it, literally the only thing, is being cheaper than everywhere else. But its easy to see that we get what we pay for. Especially those using the free stuff. Company doesn't care about your problems, they really don't. making sure to drill into your head its not their fault is more important than updating their software or resolving your issues.

  71. Douglas Rand

    Gitlab has very poor integration with the other Atlassian tools, such as JIRA and Bamboo if you are using those. This is the main reason I use Bitbucket (or Stash since we host our own). For searching, I put in Opengrok (http://opengrok.github.io/OpenGrok/) which easily adds more than enough searching ability - of course, would prefer this to be integrated with Bitbucket instead, but for now it's good enough.

  72. Arawn

    Luckily for me, there are no Atlassian products I would need that I am not already using an alternative to. Obviously won't be the case for everyone else, but if you don't specifically need those, both gitlab and github are pretty good choices.

  73. R3P0FFXI

    Horrible company that does not understand its own product much less top rated features its own users have been begging for. Would love to post the joke that was out latest "service call" for all to read. Our project has since been removed from Bitbucket due to the incompetence and service levels received.

  74. Jason Baumgartner

    I think the problem here is a total lack of communication with your end-users. This is in the top 5 requests and has been for years. If you don't want to implement this feature, then just tell us. Keeping this issue open and not giving any status updates or any indication that it's in your queue is just showing a complete lack of respect for your clients. As a developer myself, I know that things can get hectic and that other priorities may rise above feature requests -- but at least communicate with us. There have been hundreds of users requesting this feature and taking time out from their projects to offer a great suggestion that would make your product that much better for everyone who uses it. Instead, we suffer from a complete lack of communication and have no idea what's going on. That's no way to treat your customers / partners / etc. We're a community of developers, so if other things are going on in your sprints, then just be level with us. The alternative is really a slap in the face towards the developer's community as a whole.

    Please give us an update on this ticket.

  75. Vincent McClarty

    Come on. Fix this already. Almost every other code hosting service offers this capability. You guys are suppose to be sh*t hot developers, breastfeed on agile development methods. Surely, a good afternoon with a few beers will see this feature included... please?

  76. Wojciech Rutkowski

    Please read the whole description:

    EDIT: Please click to Vote for this issue (available to the right), rather than adding a +1. Only add a comment to this thread if you have something to say other than +1 or "me too". Otherwise you're just spamming the rest of us.

    I had to unwatch the issue just because of spam from "+1" posts.

  77. Arawn


    You know folks, there are multiple feature requests that went 100% ignored. This one get a multiple YEARS late response. I have some advice for all of you: Don't hold your breath for anything from this company. Decide you can either live without these things, or migrate. Anything else is wasting time. And now to un-watch this so I can stop getting +1 spam in my inbox.

    Dear Bitbucket, why do you not give a <expletive deleted> about your users?

  78. chedi toueiti

    When I saw this video I got exited, but then there is no signes of a possible integration in the public bitbucket.org. Now I'm mad, they developed all this fancy search, annotation and signatures functionalities, but they couldn't just give us the simple text search in the repository.

    EDIT: I stay corrected, It's alive !!! and it work as expected. You will have to add the extension sourcegraph in the add-on settings and that's all. Only drawback, it work only for the public repository for now.

  79. Mark Siemers

    As mentioned by John Garcia, protecting against searching for private keys / secrets is a huge consideration, but help us understand:

    1. If search is enabled for private repos, won’t the privacy of the repo prevent bots from being able to access that private code?
    2. If http://searchcode.com/ can already search all public Bitbucket repos, then doesn’t the risk mentioned in the DevFactor article (http://www.devfactor.net/2014/12/30/2375-amazon-mistake/) already exist?
    3. What about implementing search for wiki’s (which are repos themselves) - it would be a good test / proof of concept, and if people are posting private keys / secrets to their hosted wiki, they deserve a $2000+ bill for their mistake

    I’ve implemented full-text search (both in SQL Server and Postgres) - will you hire me to work solely on this functionality? I bet I can get it done in half the time that it’s already taken!

  80. Jonathan Voss

    // this is what I do because fuck waiting years for such a simple feature

    cd /path/to/repository/base/dir

    // prints a list of files containing "search term"; case insensitive

    grep -ri -l "search term"

    // or print the line number for each file

    grep -rin "search term"

  81. Tamás Barta

    We should start to +1 the cat in @dessant's post instead, then our +1s wouldn't go directly to /dev/null

    Some of you were fun here, but I have to stop watching this issue for mental health reasons. I don't need my e-mail inbox to remind me how shit Bitbucket is. I already almost convinced my boss to move on from Bitbucket.

  82. Brian Cass

    Just putting my vote in. Coming from Fog Creek's Kiln, I figured this was a standard feature of all VCS hosts. Boy was i disappointed to find this was requested in 2011, identified as something being worked on, and no response after 4 years! Wow... Is this feature available in Github?

  83. Luke Meyers

    Of course it's available in GitHub, and has been for quite some time. It would be absurd to do without such basic functionality. Downright embarrassing, really.

  84. Hinotori

    Atlassian sent me a survey. In my comments, i suggested this. And in the end, they took me to a thanks page:

    Thanks for taking the time! We'll do whatever we can – move mountains, fight crime, and fix bugs – to help your team better communicate.

    Yeah, move mountains, but search the source code... :-/

  85. Tejas Trivedi

    I want it!! I know I committed a bunch of code to a file, and can't find it in there now, and I want to search through all previous versions of this file for the exact piece of code that I remember I wrote.... When ? :) Please Bitbucket.... Please! :)