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 edited

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
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events