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()