I have a Custom Field ID=11111 ,Custom field Name=Test , Checkbox Values =Apple,Oranges,Lemon.
I am writing a groovy condition expression where if it has one of the above values it should return TRUE, but instead it always returns FALSE, here is what i am using as condition expression
issue.get("customfield_11111") == "Apple"
This worked for me,
issue.get("Customfield Name")?.find() { it.getValue() == "Customfield Value" } != null)
Hi Anil,
Per Jamie's answer here, you should do the following:
sourceValue = issue.getCustomFieldValue(customFieldManager.getCustomFieldObject("customfield_11111")) if (['sourceValue']*.value.contains("Apple")) { ... }
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.