Hi,
I would like to create a custom field, which is the contact number on JSM Portal. Is there any field type to entry only numbers up to 10 digits only.
Thanks in advance.
Hi @Venkat Jira Admin ,
Yo can not limit the amount of character on a custom field but....
If yo create the custom field ... and add this custom field into an embebed form in your request type .... in the form you'll be able to specify the min/max number of characters
I hope this has been useful to you.
I will be waiting for your comments. 😉
Cheers!
Esteban Diaz
https://www.linkedin.com/in/estebandiaz/
I didn't get the Minimum and Maximum character fields In JSM form. We are using jira cloud premium. Please help us.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Venkat Jira Admin ,
Can you please share a screen shot?
The custom field your are using is it a text field, a number field?
Cheers,
Esteban
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.
The above will provide you with a solution.
Another option is to use a script runner behaviour, this will require the script runner app.
Example of script runner behaviour:
def field = getFieldByName("My Field Name")
if ((field?.value as String)?.length() > 70) {
field.setError("Length of the field should be less than 70 chars")
} else {
field.clearError()
}
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.