Most idiomatic SIL way to check for empty fields in JJUPIN

A November 12, 2015
  • JJUPIN 3.0
  • need to check whether a particular custom field was filled out for a transition condition.

what is the most idiomatic way?

if (customfield_11111 != "") {
    return true;
} else {
    return false;
}

?

1 answer

1 accepted

3 votes
Answer accepted
eric anier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 12, 2015
Hi
use the isNotNull routine.
if (isNotNull(customfield_11111 )){
	return true;
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events