Forums

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

EarliestUnreleasedVersion is showing items that have been released. How to fix?

Sharon Youmans February 7, 2023

Hello, 

I'm having issues with the earliestUnreleasedVersion. The filter is showing the previously released and the upcoming release version. Did something change? I need it to only show upcoming release version. Not both. 

project = xx AND fixVersion > earliestUnreleasedVersion

 

 

 

1 answer

0 votes
Walter Buggenhout
Community Champion
February 7, 2023

Hi @Sharon Youmans

If you only want to show the issues in the upcoming release, your filter should be like this (with = instead of >):

project = xx AND fixVersion = earliestUnreleasedVersion()

Hope this helps!

Sharon Youmans February 7, 2023

Hi @Walter Buggenhout 

Thanks for the reply. If i change it to (=) the filter does not show the patches. It skips to the major release 1.13. My releases are set up like this, 

Patch Release 1.12.2  Release Date: Feb 15, 2023

Patch Release 1.12.3  Release Date: March 01, 2023 

Major Release 1.13    Release Date: March 26, 2023

 

Any thoughts? 

Walter Buggenhout
Community Champion
February 7, 2023

Hi @Sharon Youmans

EarliestUnreleasedVersion() is designed to retrieve only one version: the one that is scheduled next. The tool is not aware of what you consider as major versions or patches.

I am not sure what it is exactly that you are trying to get as a result. But if you would like to find all 1.12.x versions, you could search like this:

fixversion ~ "1.12.*"

That should retrieve all versions starting with 1.12.

Like Bill Sheboy likes this
Walter Buggenhout
Community Champion
February 7, 2023

A few additional variations that may be interesting to consider:

fixversion IN unreleasedVersions()

That one should show any unreleased versions, similar to this one (which takes the earliest unreleased version into account):

fixversion >= earliestUnreleasedVersion()
Like Bill Sheboy likes this
Sharon Youmans February 8, 2023

I'll try the variations. Thank you

Sharon Youmans February 8, 2023

It's still shows boty, the upcoming patch and major release. Instead of only displaying Patch Release 1.12.2. It's showing Patch Release 1.12.2 and Major Release 1.13. 

Is it not recognizing the patch as it's own single-version release?  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events