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 votes

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
Community showcase
Posted Sep 18, 2018 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...

24,959 views 2 7
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