Hi,
working on data center automation I try to get Version which start and release date fit specific date.
As data center lack fixVersion iteration I searched and find similar case:
Solved: Jira Automation - Get the next unreleased version ... (atlassian.com)
and added condition to code:
{{#if (releaseDate.format("yyyyMMdd").isAfter(PDDdate))}}
but condition seems does not working, there are versions that are earlier and later than PDD so something should be returenr.
Do you have any ide how to make this working or other solution to get one proper version od Data center automation?
{{#issue.project.versions}}
{{#not(archived)}}
{{#not(released)}}
{{#name.startsWith("EIC 1.")}}
{{#exists(releaseDate)}}
{{#exists(startDate)}}
{{#if (releaseDate.format("yyyyMMdd").isAfter(PDDdate))}}
{{id}}-{{releaseDate.format("yyyyMMdd")}}
{{/}} {{/}} {{/}} {{/}} {{/}} {{/}} {{/}}

thanks
Michal