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

This widget could not be displayed.

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.

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

93 views 1 2
Join discussion

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