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.
Join PM Evangelist, Axel Sooriah, & Product Ops. Consultant & Advisor, Jenny Wanger, as they unpack the role of product ops and discuss key takeaways in Atlassian’s ‘The Product Ops Mission’ guide. They’ll answer your questions live on May 6 at 9:00am PT.
Register here ⬇️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.