Hi!
I wanted to do a workflow validation where if a ticket does not have the latest unreleased version on it.
I expected that this should be possible at least with PowerScripts or ScriptRunner if not native Jira.
I've had little success:
I tried this:
if(size(key in silJQLExpression('', 'issueKey = ' + key + ' AND fixVersion in unreleasedVersions() AND not fixVersions in releasedVersions()'))) == 0){
return false, "fixVersion", "Fix Versions blablalbla.";
}
return true;but it always says there's some error without any further info.
Any hints on how to proceed?