Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL for earliestunreleasedversion is not working

Daniela Cardenas
Contributor
October 3, 2023

I'm trying to run a query for the earliest unreleased version. project = "CircleBlack Development" AND fixVersion = earliestUnreleasedVersion()

It is pulling the version with the earliest start date (version "23.3.0") but not the earliest release date. It should be pulling up the 23..19 version. Why is this happening? 

Even just 15 minutes ago, it was returning the version "N/A" which is the only version without any release date or start date on it. Something is going on with this function.  

JQL filter results.pngreleases.png

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 3, 2023

Hi @Daniela Cardenas 

When you navigate to the releases page, it displays the versions in order.  The one at the bottom is the "earliest unreleased version", and so on, moving up the page.  That is unfortunately the way the page is designed.  It does not use the release dates to determine "earliest unreleased".

If you have changed the order on the page, by selecting one of the column titles, that order is different.  To go back to the built-in ordering, leave the page and then navigate back to it.

To solve your need of having the releases in your desired ordering, use your mouse to grab the version name and you can drag it to the correct order.

Kind regards,
Bill

Daniela Cardenas
Contributor
October 3, 2023

wow this is terrible logic! I may request an enhancement for this to work based on the actual release date field.

Thanks for your help. 

Like # people like this
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 3, 2023

There are several open suggestions to change that behavior, so look to see if there is one that matches your needs and vote for it; if not, please add one.

https://jira.atlassian.com/secure/Dashboard.jspa

VINCENT DUPONT
Contributor
November 3, 2023

Hello

I confirm! The use of the ordering is very counter intuitive. Why not simply rely on the release date ??

Vincent

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events