I want to build a validator that won't let the user transition a ticket if one of the fix version values doesn't have a hyphen in it.
Background: We use fix version both for code releases which have a hyphen in them and for PI increments. The ticket will have a PI fix version on it, and I need the transition to fail if it also doesn't have a code release (with a hyphen) fix version on it.
Alternatively, if hyphen won't work, the validator could look for either: No-Deployment-Needed or a fix version containing 2025.
I've tried the Build-Your-Own Validator jira expression, but I don't have the coding skills to get it right.
Thanks in advance!