Hi All,
Is there a validator available to check that fix version is >= affects version on resolving issue.
Any plugin which has this validation feature or any groovy script available to do this?
For this first we have to maintain order of versions in a project correctly.
Regards,
Venkat
Hi
May be you can compare the release dates of the fix version and affects version.
issue.getFixVersions().iterator().next().getReleaseDate().compareTo(issue.getAffectedVersions().iterator().next().getReleaseDate())
Here I assume there is just one fixversion and affects version.
Regards,
Vijay
Thanks Vijay. I will try to use your suggestion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.