Searching the summary for "[Name]"

I have been havingno luck trying to get the following search to work:

reporter = me AND project != "Project A" AND summary ~ "\\[Name\\]" ORDER BY createdDate DESC

I get eleven tickets returned, but one of them does not have "[Name]", but it does have "name some other text" in the summary.

I've tried various combination, with/without //, no " etc, but most of those occurs in an error.

Any idea why the search above adds in the extra ticket?

 

Thanks

1 answer

0 vote

The ~ text searches are "fuzzy" - it's finding something it thinks is similar enough to [name] that you might want to see it.

The problem with fuzzy text searches is that they do have a nasty habit of throwing up the odd googly ball.  While you'd sort of expect a fuzzy search given "crat" to return thinks like "cat, chat, autocrat, cravat, etc", sometimes they'll chuck in "penguin" for no reason you can fathom!

https://confluence.atlassian.com/jirasoftwarecloud/search-syntax-for-text-fields-764478343.html is a good read if you want more detail on various searches.

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 yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

165 views 0 2
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