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?

Thanks,

Frank

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.

 

Cheers!
Teilor

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,731 views 17 21
Read article

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