On 25 October, I asked a question. I had an issue with the response, but nothing was forthcoming.
"When I do an advanced search with a phrase that contains a period (.), the results are unexpected.
I need to find issues that contain the string ".airspace." without those where airspace only appears without the two periods.
With Summary ~ ".airspace." I get those without the periods too.
When I add a word that precedes the string to avoid this problem, there is no result:
"word1.airspace." will give no results.
"word1\\.airspace." will give no results
"word1\\.airspace.\\" will give no results
even though ".airspace." will give the results and "word1" will give the results, but both with too many false hits.
What can I do?"
I received this answer:
"According to the linked community thread:
for this type of exact match search, you can use double quotes, but internal quote needs to be escaped with backslash:
summary ~ "\".airspace.\""
I tried to do the same search in our local instances and it is giving correct results.
Please, try it and let us know how it went.
Thanks for the reply. Unfortunately it does not work.
summary ~ "\".airspace.\""
returns also all the issues that have the word airspace in the summary. I want to have only those with the periods.
I want to find .airspace. without "airspace".
Can anyone help me?
Natively Jira won't let you search for exact string matches like this. There is an open feature request for this in https://jira.atlassian.com/browse/JRASERVER-21372
In native JQL, Jira is using word stemming as a means to store and search for these terms. It is not able to search for these string fragments in the way you are trying here.
It might be possible to get this kind of searching in Jira with the use of a 3rd party plugin like scriptrunner. That plugin can provide you the ability to use regex as a means to search for field value matches as explained in https://scriptrunner.adaptavist.com/4.3.0/jira/jql-functions.html#_issuefieldexactmatch
I hope this helps.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
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!
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