Custom field checkbox "Merge" set to have only one value "Yes". So, practically when checkbox is not set to yes, then it does not show on story.
I need to set filter to when checkbox is not equal to "Yes"
I tried
if( it.toString() != "Yes")
if( it.toString().empty)
if( it.toString() != "")
if( it.toString() != null)
if (it.toString().trim().length() == 0)
Nothing works. Does anyone have a suggestion?
This works fine with filter set to Merge=Yes.
def customField = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Merge");
def checkBoxValue = issue.getCustomFieldValue(customField)
checkBoxValue.each
if( it.toString() == "Yes")
Thank you