Attempting to populate the Request Participants custom field, which works ok.
But only need this to happen if the 'Request Participants' field is empty.
But I cannot seem to get the Groovy condition code working.
Current groovy code I have is:
import com.atlassian.jira.component.ComponentAccessor;
import com.atlassian.jira.issue.fields.CustomField;
def value = issue.getCustomFieldValue(ComponentAccessor.getCustomFieldManager().getCustomFieldObject(10108));
if ( value = null) {
return false;
} else {
return true;
}
Even tried the following
(! cfValues['Request participants'])
But when either code is present in the condition box, it fails to populate despite the filed being empty.
Without the code in it works, but runs the risk of replacing what was previously set.
HAHA yeah I got that one, but still not working.
If Request Participants is not populated the it still doesn't equate to NOT NULL :-(
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.