Forums

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

How to filter earliestUnreleasedVersion +1

Dosa Szabolcs December 18, 2023

We are working with two teams on the same project, one is working on the current launch, and the other for the next launch. 

There is the function of filtering by earliestUnreleasedVersion(), but I'm searching for a solution to have earliestUnreleasedVersion()+1, meaning to filter the next NEXT upcoming version somehow.

Is there any solution for this without hardcoding the versions in it?

1 answer

0 votes
Walter Buggenhout
Community Champion
December 19, 2023

Hi @Dosa Szabolcs ,

There is no dynamic way to do this, unfortunately. And while there has been a feature request for it, it has been closed as won't doJRACLOUD-29479. In other words, it's not something that you may expect to be developed.

The closest you may get with a dynamic search would be something like this:

fixversion in unreleasedVersions()
AND fixversion not in earliestUnreleasedVersion()

If you have more than 2 unreleased versions, that will of course not yield the desired results. In that case, explicitly filtering for the version by its name would be the way to go.

Hope this helps!

Dosa Szabolcs January 18, 2024

Well thank you but that does not help me :(

Suggest an answer

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

Atlassian Community Events