New to Jira and we have an automation that looks for a code in the description. Each code has its own "else-if" section, but theres a "catch all" else-if created to look for 20+ codes, to then update a field if description contains one of those codes.
It has been written like,
.
Should this even work? From what I can tell it isnt working at all. Is there a correct way to write this out? Or will they need their own else-ifs, or should I turn the current else-if block into a "at least one condition matches", and separate them out there?
@Terry Dance separating them out might not be ideal if you have a long list.
I would suggest using {{smart values}} condition instead:
To know more about OR operator in regex you can refer to https://www.ocpsoft.org/tutorials/regular-expressions/or-in-regex/
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.