Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Most idiomatic SIL way to check for empty fields in JJUPIN

A
Contributor
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