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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,222 views 5 10
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