How do I get only the next to release issues?

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

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

fixversion.JPG

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

507 views 3 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you