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 ?




1 answer

1 vote

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

808 views 3 9
Read article

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