JIRA version: 6.4.11
(1)
Post function: Set Field Value to constant or Groovy expression
I want to set the fix version via Set Field Value to constant or Groovy expression. I tried this script, but didn't work for me.
if(issue.get("fixVersions").getName() == "5.0.6")
{
return "SasS 5.0.6";
}
else
{
return "";
}
(2)
Post function: Transition issue
I want to transition, when the fix version is not set to "SaaS 5.0.6". I tried this script, but didn't work.
issue.get("fixVersions").getName() != "5.0.6")
return true;} else {
return false;
}Please provide a solution for me to resolve these issues
Cheers.
Ganga