How do I search for a slash '/' in a text field?

Various attempts at escaping do not seem to work.  For example, I'd like to search for the term '/browser' (no quotes).

3 answers

1 accepted

I don't think you're going to be able to search for a slash. This page doesn't include the slash as one of the special characters. I believe the standard Lucene indexer, which that page says JIRA uses, splits words based on punctuation. It treats the slash as punctuation and not searchable.

I've looked at both pages:

https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-764478330.html  "Advanced searching"

https://confluence.atlassian.com/jirasoftwarecloud/search-syntax-for-text-fields-764478343.html  "Search syntax for text fields"

 

@Bautista:

Q: How are you escaping it?

A: Any way I can try smile  I think I've tried all combinations of single/double quote, single/double backslash, Unicode escape notation, etc.

 

@Swartz:

I think you're right.  While the slash is listed as a Reserved Character on the "Advanced searching" page, it is not listed as a Special Character on the "Search syntax for text fields" page.  Your reference

https://confluence.atlassian.com/jira/performing-text-searches-185729616.html  "Performing Text Searches"

links to

http://lucene.apache.org/core/3_3_0/queryparsersyntax.html  "Apache Lucene - Query Parser Syntax"

which, like the JIRA doc, lists the same reserved characters (which doesn't include slash).

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

44 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot