Hi Team,
Could you please guide on how i can define a conditional check or validator before submission of request on having 2 values inputs at least in multiple input custom field with a comma as separator.
i.e
abc,cde
If value given is only 1 than it should not allow the action to submit the request.
Are you on Jira server/Data Center our Jira Cloud?
Also, what is the field type of the field you want to check?
Hi, David! I'd like to enjoy the ride here... I also need to do the same.
I have a multi-select user picker to set approvers. It's Jira Cloud.
I need to be sure that user chooses at least 2 approvers. Is that possible with regex validator? What would you suggest?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't believe it's possible with a "regex" validator. But you can easily do this with JMWE's Build-your-own Validator with this code:
!!issue.customfield_10500 && issue.customfield_10500.length >= 2
where you need to replace customfield_10500 with the field ID of your multi-user picker custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.