In our jira project, we have a versioning of releases shown in the following format: R***, where *** is a number (e.g. R100).
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!