Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I get only the next to release issues?

Vera Henrichs
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.
February 18, 2016

Hello, 

I am trying to figure out how fixVersion = earliestUnreleasedVersion() works. 

In my case, we have a couple of projects that have Fix Version 2.08. (that would be next week, week 8 in this year) If I use the mentioned JQL, I only get 2 out of 4 projects that have this fixversion and I don't understand why.

The weird thing is, if I search for fixVersion = 2.08 I DO get all 4 projects. 

If I use  fixVersion > latestReleasedVersion() then I get 2.08 and the already planned ones in 2.09 and 2.10. 

I don't seem to get something like fixVersion = earliestUnreleasedVersion() AND fixVersion > latestReleasedVersion() so my question here is: how do I get only the issues in the next release, without changing the fixversion every week?

Thank you so much for your help!

1 answer

0 votes
Boris Georgiev [Appfire]
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.
February 19, 2016

The earliestUnreleasedVersion searches all versions that are not released for each project and then again for each project it picks up the version with the lowest sequence number - meaning that it depends on the order of the versions, so if in 2.08 is above 2.09 it will pick 2.09 instead 2.08, so that might be your problem.

You can do a test by looking at the results of a query like project=Project1 and fixVersion=earliestUnreleasedVersion() for each project and check which of the project does not behave as expected, then double-check why

Vera Henrichs
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.
February 19, 2016

You are right about that he searches each project and then again, because it's grouped by project. 

What do you mean by double-click?

Still don't know how to only search for only the next fixversion....

Vera Henrichs
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.
February 19, 2016

Our releases are every week. And they have a release date (which is 7 days after the last one). Maybe I can put something like "and release date <= 7d" in my JQL about that? 

But I can't do that now, my JIRA doesn't recognise that field....

Boris Georgiev [Appfire]
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.
February 19, 2016

Did you check if the version order is correct for all the projects you expect to get issues from ?

Can you post a screenshot of the versions page for the projects that you're not getting the expected results ?

 

Vera Henrichs
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.
March 15, 2016

Hi Boris,

Sorry for the late reply. Attached is my info about the checks etc. 

I still don't see the problem sad

fixversion.JPG

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Jira Events