Here is the issue I’m seeing:
If I search two words (or more) and tell JIRA to check the summary and description, I’m not getting results I expect. If I search for the words “up” and “down” , if the word “up” is in the summary and the word “down” is in the description, it won’t return the issue. It will only return an issue if “up” and “down” are both in either the summary or the description.
In theory I can do an advance search to cover the four combinations of results. This is an extremely messy solution however and if I want to search three words, I then need 9 different combinations, and so on.
Ideally what I’d like to do is concatenate the description and summary then search that one field for the two words. I however have been unable to find any way to do that in an advanced search, not sure if it is possible or not.
Does your JQL look like this?
summary ~ "up down" OR description ~ "up down"
That is what mine looked like when I type up down into the simple search box, then clicked to the 'advanced' tab. This should return the results that you ahve stated, and in a cursory glance on our onDemand install it looks like it does.
Looks like my problem was in the explanation.
I only want a result where “up” AND “down” are included.
The query sent was an OR. It will return up or down, which isn’t what I’m trying to do.
Here is what my JQL looks like:
(summary ~ "up AND down" OR description ~ "up AND down")
Just looking at the JQL I can see where the problem is. It will find (up AND down in the summary) OR (up AND down in the description). It will not find up in the summary AND down in the description, that would evaluate as false based on the JQL
Thanks for the reply, however that will only give me a result where both words occur in the summary or both words occur in the description.
What I want is a query (without making a matrix) that will return results where one of the words is in the description and the other word is in the summary.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot