Number field length restriction : more than 12 numbers

We created on our customer portal  a request type dedicated to phone issues.

We added a custom field (number type) for Phone number, unfortunately it seems that this field is limited to 12 numbers.

 

Is there any way to extend this limit ?

Thanks,

 

Regards

1 answer

This widget could not be displayed.

A "number" field is for numeric data.  Telephone numbers are not numeric, they're strings of digits.

You should be using a (short) text field for telephone numbers.

Thanks but that means that users will be able to type text instead of number only.

Yes, I'm afraid so.  But then, the problem with using a number field is that it will never represent a lot of telephone numbers correctly either.  Not just the length, but most numbers in the UK, and all international numbers dialled from the UK, begin with a zero, which a number field won't hold.  Especially painful when it's two or three 0s.  Telephone numbers are strings.

You could find or write a validator to check a telephone number format (I've done it with a painful regex - numbers, pluses, braces and assorted separators are all valid), but the general advice is to simply get the users to be accurate.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

576 views 25 15
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you