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

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.

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

93 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