JQL IN operator issue

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?



2 answers

This widget could not be displayed.

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.

This widget could not be displayed.

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



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 6 hours ago in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26 views 0 1
Join discussion

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