You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm trying to build a dashboard that shows issues associated to the 2nd earliest unreleased version (2nd from bottom of unreleased version list).
I have it figured out for how to get it for the earliest unreleased version, learned about the trickiness of that JQL in this thread.
Now I need to figure out how to do the similar JQL but for a version that is not the one at the bottom of the list. I need JQL that grabs the version just above the bottom version in the list and I don't want to specify a version number in the JQL because I need it to be dynamic and populate a dashboard with the next point release regardless of version number.
This is the JQL I use to get the version at the bottom of the list:
fixVersion = earliestUnreleasedVersion()
Hi @Daniel,
There is no function in JQL for the second unreleased version. So, unfortunately, just retrieving the issues related to that version dynamically with a single function won't work.
A couple of things you could try to do builds off the unreleasedVersions() function. It retrieves all unreleased versions. Depending on how many versions you have sitting around, you could try things like this:
fixversion in unreleasedVersions() AND fixversion != earliestUnreleasedVersion()
That should work for the case in your screenshot, as there's only 2 versions there. As soon as you have more unreleased versions, your query will return too many issues obviously.
If you just use the following:
fixversion in unreleasedVersions()
You can use the filter behind a two dimensional issue statistics gadget to display your issues by version and e.g. status. Or even use the built in Roadmap gadget to display information by version on your dashboard.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.