Select list cascading smart value isEmpty does not return TRUE or FALSE when it is emtpy

Bin Liang
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.
April 2, 2024

issue.customfield_xxxxx.value.isEmpty did not return TRUE if the field was empty.  But when I selected a value in the field, the same smart value returned FALSE.  So it works only when the field is not empty.

Does anyone experience the same or I did something wrong.

1 answer

0 votes
Bill Sheboy
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.
April 2, 2024

Hi @Bin Liang 

Yes, I have seen the same behavior, and I have not found the isEmpty function to be useful due to this problem with handling null values as "empty".  

I recommend using other methods to detect an empty value.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events