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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

189 views 1 11
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