Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How change existing number field to accept only integers

Mariusz Skibi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 23, 2018

I try to change already existing number field to accept only integers, now it is accept dots between digits like for example: 3.5
I think I need some code in Script Runner, can you help?

1 answer

0 votes
Grigory Salnikov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2018

Hi!

There is a free add-on which can help:

Unique Regex Custom Field

You can restrict entered values to whatever you want.

Hope this helps.

Marcos PS [DEISER]
Contributor
May 23, 2018

The problem of this app is that all the data is stored in text fields, so Mariusz can find some limitations or being forced to make conversions while operating with them... anyway, is a good workaround ^^

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events