Sort by fixversion within a project does not work

Riya Sharma May 23, 2017

I know that there is a separate thread on a similar issue where issues are sorted first by project and then by fixVersion. 

My issue is that even with the same project, sorting by fixversion does not work. 

For example, 

project = ABC ORDER BY fixVersion ASC 

should list issues with fixversion in ascending order. Instead I get, 2017.01, 2017.04, 2017.03. 

If I specify fixVersion DESC, I get 2017.03, 2017.04, 2017.01

1 answer

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2017

I suspect this is because JIRA is not clear about what it is ordering by when you say "order by fixversion".

It's not using the name of the version, it's using the database ID.  Try renaming your versions and you should find the order does not change, as it's the underlying id that matters.

Unfortunately, there's no real "fix" for this.

Riya Sharma May 23, 2017

Darn! I think you are right. 

Atlassain should not allow you to sort on this field in that case. Just wasted hours of my time on this!

 

Thank you for looking into it. 

Suggest an answer

Log in or Sign up to answer