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

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
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

456 views 7 5
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