If I typed multiple words into the Quick Search box, I wasn't getting the expected results. When I analysed it, the cases not returned were those where word1 only appeared in the description, and word2 only appeared in a comment. So if I typed foo bar , the expression was text ~ "foo bar", which if you expand text is similar to (description ~ "foo bar" or summary ~ "foo bar" or comment ~ "foo bar" ...) when I was expecting ((description ~ "foo" or summary ~ "foo" or comment ~ "foo" ...) and ( description ~ "bar" or summary ~ "bar" or comment ~ "bar" ...)).
That is to get what I want, I had to type text~ "foo" and text ~ "bar" into the basic search box. Is there a way that typing foo bar into the Quick Search box would expand to text~ "foo" and text ~ "bar" , and not text ~ "foo bar"
according to this
https://confluence.atlassian.com/jiracoreserver073/search-syntax-for-text-fields-861257223.html
“foo” AND “bar”
may work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reuben
where I have issues with the text 'new Product'
new duct
returns nothing
new OR duct
returns issues with new or Product in them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To replicate the scenario, do the following
1. in one case add to a description these two hopefully unique words: TOM111 TOM222
2. add to one comment in the same case these two hopefully unique words: TOM333 TOM444
3. now do a Quick Search on the following ...
TOM111
TOM222
TOM333
TOM444
TOM111 TOM222
TOM333 TOM444
... the case as expected will be returned.
4. now do a quick search on the following ...
TOM111 TOM333
TOM222 TOM444
... the case wlll NOT be returned
When you look at the JQL generated, it is text~ "TOM111 TOM333" when ideally text~"TOM111" and text~"TOM333" would be generated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
the first six scenarios will all succeed as exact matches for the whole string entered
for your last two cases try
TOM111 OR TOM333
and
TOM222 OR TOM444
the uppercase OR is significant and will be recognised by the quick search
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
that will return cases that have TOM111 in them, or cases that have TOM333 in them. I want to return cases that have both TOM111 and TOM333 in them. Just like if I was doing a Google search and typed TOM111 TOM333 I would get Web pages that had TOM111 and TOM333 in them.
I can do what I want by typing text~"TOM111" and text~"TOM333" into a Basic Search. I don't see a way of generating that JQL via Quick Search
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could try the mandatory operator +
+TOM111 +TOM333
or use the AND operator
But the gotcha here is that the quick search is applied to each “document” and a document is a text field.
maybe a feature request to Atlassian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.