Hello team,
I have added one validation for one field while creating the Issue (issue type = Bug).
if ((issue.issueTypeObject.name == 'Bug') && !cfValues['Regression Bug']) {
return false;
} else {
if (cfValues['Regression Bug']?.value == 'Could not be checked' && !cfValues['Regression Bug Comment']) {
return false;
}
return true;
}
Now for one another field I need to check the user is developer and field value is "NOT SET" otherwise return false.
I will add this code in simple scripted validator.
Please help me with this.
Thanks
Suhas