You'll need to find or write a custom field add-on that provides a field that you can put the validation into.
I usually look for one of the "regex validated fields" you can find in the marketplace, as a regex (while annoyingly hard to construct or read) is a very flexible and powerful way of validating field content.
Depends on which add-on you go for.
Yes, you can do this sort of validation with ScriptRunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply!
Would you mind to give some suggestions on how to achieve this?
Regex.Match(number, @"^(\+[0-9]{9})$")
Something like this?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.