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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

244 views 1 18
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