Forums

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

How to get the Version Name with the latest Release Date?

Helen Rastetska
Contributor
September 7, 2023

Context:

In our jira project, we have a versioning of releases shown in the following format: R***, where *** is a number (e.g. R100).

Goal:

My goal is to implement a scheduled rule that will create a Version every month and the name for this version will be iterated based on what the version name is for the previous version (e.g. old version is R100 -> new version will be R101). By saying a previous version, I mean the one that has the latest Release Date (not the one that is first or last in the list). 

Considering above, I need to get the Name of the Version with the latest Release Date. No matter if it has been released or not.

I have already identified the latest release date and stored it in variable:

{{project.versions.releaseDate.max.jiraDate}} ,

but no idea how to get a version name based on the Release Date. 

Any help/advice is welcomed!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events