It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I get only the next to release issues?


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

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

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....

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....

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 ?


Hi Boris,

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

I still don't see the problem sad


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

The Jira Server Mobile App is here!

Hey Community! My name is James and I am a product manager on the Server Mobile team. I am excited to announce the new Jira Server Mobile apps for both iPhone and Android are now available. This is...

42 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you