How to search snippets in Bitbucket

Rosa M Fossi
Contributor
March 13, 2018

Hello Community, 
I am at a loss as to how to search through my own or a team's snippets. 

I read THIS SEARCH article, but I'm not getting any hits...  I'm attempting to search within a team "team-alpha".  That team has no projects or repos.  Just some snippets myself and a team member created to test bitbucket.  

1 answer

1 vote
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 14, 2018

Hi Rosa! The search functionality will only search code within the repositories, it will not search through the snippets. We have a Feature request for that and you might be interested to vote for it, you can find it at Organize and search snippets. You can also add a comment if you'd like.

Hope that helps!

Ana

Rosa M Fossi
Contributor
March 14, 2018

Thanks for your reply Ana.  I was very surprised that this was not addressed via ticket BB-39  since an Atlassian Team member directly referred to that particular request as being the solution to snippet searching (community post HERE). 

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 15, 2018

Hi Rosa, I'm afraid snippets were not covered in that feature request, that was related to the ability to search the source code. 

Let us know if you have any other questions!

Ana

aadio-st
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 6, 2018

@Ana Retamal

Hello,

 

> The search functionality will only search code within the repositories, it will > not search through the snippets.

 

Does this mean that there is no way for people to search a snippet without knowing the exact snippet URL?

If a snippet is made public, does it only mean that anyone can view it only if she/he has the snippet URL and it has nothing to do with the snippet search functionality? 

aadio-st
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 6, 2018

@Ana Retamal

Hello,

The search functionality will only search code within the repositories, it will not search through the snippets.

Does this mean that there is no way for people to search a snippet without knowing the exact snippet URL?

If a snippet is made public, anyone can see it only if she/he knows the snippet URL and making it public has nothing to do with the snippet search functionality?

Rosa M Fossi
Contributor
November 14, 2018

Hello Dai!  I don't know the answer to that question since due to lack of searchability, we ended up selecting a different snippet program for our company.   I suggest you start a new "question" in the community, or try this thread for possible answers
https://community.atlassian.com/t5/Bitbucket-questions/Search-public-repositories-in-Bitbucket/qaq-p/844415

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events