Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Search for Double Quote - How to Escape Special Characters

Edited

I need to search for the exact word "Admin" (including double quotes). When I enter "Admin" in BitBucket search box, it only returns me Admin (not including doube quotes). 

SearchWord.PNG

3 answers

Most of those special characters are actually part of the code. Searching for code terms should include them. Expected feature.

I am interested in searching for something specific in the code that happens to have quotes (") in them.  Searching without quotes returns too much data and is not usable. This is a big inconvenience. Could you suggest a way around this or add it as part of your feature in the future.

0 votes
Jack Nolddor _Sweet Bananas_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Mar 10, 2020

Hi Hasti

As per Search for code in Bitbucket Server page says:

There are some restrictions on how searches are performed:

All punctuation characters are removed. !"#$%&'()*+,-/:;<=>?@[\]^`{|}~

As you can see " character is included in the list... so you cannot use it to search a term in Bitbucket.

 

Regards

Thanks Jack for your response. Is there anyway escape them somehow? (I found this link: https://community.atlassian.com/t5/Jira-questions/Escaping-special-characters-in-Jira-JQL-Search/qaq-p/351171) but I don't know how to apply it to my situation.

Like # people like this

The link that Jack posted now points to an unrelated page which does not have this information.

Like inger_klekacz likes this

Hi,

I am trying to search job: in all our repositories but currently, there is no way, per documentation to do it...

Thanks

Atlassian should be ashamed of this. We are thwarted at every turn because of some stupid missing functionality that is available every else in far superior products. I rue the day our organisation adopted Bitbucket! 

We absolutely need a way to search for the text we need to find! I am personally trying to find all code with ${...} style variables in POM files, and I'm just blown away by how useless the Bitbucket search functionality is.

Like # people like this
Kelly.Rankin
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!
Jun 30, 2023

They really need to get on this. It's insane to me how much this limits the power of the search in bitbucket.... I need to find something with a slash in the middle and I simply cannot!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events