How to get the unreleased version that is next after the next unreleased version?

chrisyeem January 16, 2025

Basically would like to get nextUnreleasedVersion() + 1. Is there such a thing?

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 16, 2025

Hi @chrisyeem 

What do you mean by "next" regarding the versions?  Where do you want to "get" that version: in the UX, with a query, etc.?

By default on the Releases page, the "next" version is the one at the bottom of the list, regardless of the release date, name, etc.  And so the "one after next" would be the one immediately above that.

When you want to better control getting the versions in a specific order, please use the REST API endpoint and the orderBy parameter: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-versions/#api-rest-api-3-project-projectidorkey-version-get

Kind regards,
Bill 

Suggest an answer

Log in or Sign up to answer