Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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 edited

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
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events