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 Diazhttps://www.linkedin.com/in/estebandiaz/
Hi @Venkat Jira Admin
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()}
Hi @Esteban Diaz
I didn't get the Minimum and Maximum character fields In JSM form. We are using jira cloud premium. Please help us.
Thank you.
Can you please share a screen shot?
The custom field your are using is it a text field, a number field?
Cheers,
Esteban
As per the added screenshot, Contact Number is Number field. Please check.
It looks like you're new here. Sign in or register to get started.