1. I have 1 field with multiple values to pick from
2. Out of 5 options, 2 values are OK for the JIRA to move forward "Completed" or "Bypassed"
3. I'm using the field required validator to ensure that one of those values are selected before the JIRA can move forward.
How do I configure the Field Required Validator to determine whether "Completed" OR "Bypassed" is selected so it's validated?
One of the options when setting this up says:
So I tried numerous combinations "Completed,Bypassed"; "[Completed,Bypassed]"; "Completed, Bypassed", etc. and same error. I must be missing something simple...
Is there a workaround if that's not possible without having to pay for an add-on?
I was a bit confused to start here. The Field Required validator only checks to see if the field has a value of any kind. In your description though, it looks like you're trying to use the Regular Expression Check validator instead.
I think the regex validator can be used here, but I agree that the example posted there is confusing and misleading a bit. That example would work for single Character matching like A or B in regex. However for multicharacter matching, I think you'll need to use a value such as
In the validator. This would match either or both values, but it would still reject any issues that try this transition and contain any other value for a multiselect field. Try this. Does this help? Or are you also looking to validated the field if it contains either of the valid options and some other options?
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events