Telephone field

Al crear una issue y cumplimentar el campo teléfono si introducimos el valor 5491133494903 se produce un errror.

"Error creating issue: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,4785227][issue,768222][numbervalue,5.491133494903E12][parentkey,null][customfield,10311] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Data truncation: Out of range value for column 'NUMBERVALUE' at row 1))"

¿Cómo podemos hacer para poder introducir ese número de teléfono perteneciente a Argentina (Buenos Aires)?

He buscado en la documentación de Atlassian pero no me queda claro para mi versión de JIRA (v6.1.1#6155-sha1:7188aee)

3 answers

I think you have a better chance at answer if you translate this to english.

By creating an issue and complete the phone field if we introduce the value 5,491,133,494,903 one errror occurs.

"Error creating issue: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,4785227][issue,768222][numbervalue,5.491133494903E12][parentkey,null][customfield,10311] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Data truncation: Out of range value for column 'NUMBERVALUE' at row 1))"

How can we do to enter that phone number belongs to Argentina (Buenos Aires)?
I searched Atlassian documentation but it is not clear to my version of JIRA (v6.1.1#6155-sha1:7188aee)

Thanks!

0 votes

You've set this field to be a number, but telephone numbers are not really numbers, they are effectively strings, and trying to place them into number fields won't work for the longer ones because the nnumbers fields can only hold floating point numbers up to a maximum size.

I'd add a new telephone number field of type short-text

Or, better, maybe use one of the add-ons that provides formatted telephone number support or maybe a regex field that can do some validation on the data being entered.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot