What is the proper syntax for a condition involving one or more selections of a checkbox field? We have for example 'Affected Areas' with choices like, Application, Database, Network, etc. The syntax:
cfValues['Affected Area'] == 'Database'
Doesn't work.
Regards,
Bryan
Ok, after some significant digging on the Internet I found a solution for check boxes that works:
cfValues['Affected Area']*.value.contains("Database")
Thanks much Jamie!!!!
that's the same as my example...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
'Database' in cfValues['Affected Area']*.value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you ever tried Power assertion in _Simple script condition_ interface? https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-PowerAssertions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.
Get Certified! ✍️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.