How to filter issues whose fix version is the "next unreleased version?"

Janelle Lirette November 6, 2018

I have a detailed requirement.  At any given time we have 3 releases in play:

1)Release in Planning (looking ahead for grooming an prioritizing)

2)Release in Development (being actively developed)

3)Release in Testing (post development)

I can set up a filter to get number 2 by using the 'earliestUnreleasedVersion().

I can set up a filter to get #3 by using the 'latestReleasedVersion()

I can't figure out how to get a filter to look ahead in my defined releases to find the one after the 'earliestUnreleasedVersion().  Any ideas?

1 answer

3 votes
Henrique Bittencourt
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 8, 2018

Hi Janelle!

So, about your question, unfortunately, there isn't a nextUnreleasedVersion() function to help you with.

Digging a little further on the JAC I've just found this feature request:

Allow filter by "Next Unreleased Version"

But it was marked as fixed, please take a look into this comment.

Seems like you can search using the following statement:

fixVersion = earliestUnreleasedVersion()

Also, take a look into this comment:

This function appears to use the order of the "Versions" in the list NOT the dates associated with them. Also, note the list earliestUnreleasedVersion() function expects the next list to be ordered with the old/next versions on the bottom of the list with future versions on the top. (I.E. From top to bottom: Release 6 -> 5 -> 4 -> 3 -> 2 -> 1 NOT Release 1 -> 2 -> 3 -> 4 -> 5 -> 6).

Hope this can help you out.

Best Regards.

Suggest an answer

Log in or Sign up to answer