Is there a way to determine if a multi select list changed in any way? I know how to check if it contains a certain value, but I want to trigger if there was a change (or ideally if it didn't contain a certain value previously).
I'm doing this as part of a Custom Email Send from Script Runner.
Figured it out...
cfValues['Assignee Group']*.value.contains('Platform') && changeItems.any {
it.field == 'Assignee Group'
}
I would suggest to have previous selection saved in a hidden field and then compare it with the current selection. You can have field which is not visible on view/edit screen if you don't add it to these screens.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.