JQL IN operator issue

flemmon April 6, 2015

We're using JIRA version v6.2#6252-sha1:aa34325. Today, we noticed that a JQL query is behaving in an unexpected fashion.

Specifically, this prototype example:

project = "Widget Project" AND component in ("Database Store", "Rest API", "Automated Tests", Platform, "Testing Framework") ORDER BY Rank ASC

is not picking up any tickets for component = "Database Store"

However, this simplified query:

project = "Widget Project" AND component in ("Database Store") ORDER BY Rank ASC

Returns tickets for "Database Store" as expected.

This looks like a JIRA bug to us, but I didn't find anything obvious when searching the Answers forum or on-line knowledgebase (I couldn't access the JIRA bug database at the time because of some issue on the Atlassian side).

Any ideas on this?

Thanks,

Frank

2 answers

0 votes
teilor_soares
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 6, 2015

Hi Frank. After notice this problem, did you try re-indexing JIRA? This usually helps with this problems with old fillters.

 

Cheers!
Teilor

0 votes
flemmon April 6, 2015

We have isolated it down to the "ORDER BY Rank ASC" clause. Apparently the use of the Rank field isn't working as we expect it to. We're evaluating whether we can use the Rank field at all or will have to come up with a different approach.

Suggest an answer

Log in or Sign up to answer