Hi all,
If the issue regarding archive.Then should not allow transistion.
validator plugin?
how to get the issue archived or not from issue?
Thanyou!!
Suresh
From the issue... eg if you were using a groovy validator the condition would be:
issue.fixVersions*.archived.contains(true)
For java just iterate the getFixVersions() and call .isArchived().
suppose issue contians fixversion version v01.
If i did archived on version v01.Now the list is
empty even through the issue contains FixVarsion as value v01.
Collection<Version> cOlversions = issue.getFixVersions(); for (int i = 0; i < cOlversions.size(); i++) { Version version = (Version) fixVersionIterator.next(); bArchive = version.isArchived(); }
What i do: If the issue contains archived version i don't allow to transistion.
In the code i am getting only released and Un released versions.I am not getting Archive versions of issue details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.