In our RT, we have a custom field that I’ll call bug_number
. For our support queue, this number should be numeric, so I have the validation set to (?#Digits)^([\d.]+|)$
, as one would expect. In the support queue, bug_number
isn’t mandatory.
The bug_number
custom field also applies to our bugs
queue. In this case, I still want validation to test for digits, but now bug_number
should be mandatory. Is there a way to set different validations depending on which queue the ticket belongs to?