Forums

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

Jira Number Validation

Ömer Gündüz
January 8, 2026

 

Hello,

In Jira Cloud, I want to restrict a field with the type “number” to only accept values between 0 and 10 (I also want to allow double values, e.g., 0.5, 0.9, etc.). I'm writing a rule for this, but it's not accepting integer values. What should the correct rule be?

 

 

 

 

image.png

1 answer

3 votes
Kristian Walker _Adaptavist_
Community Champion
January 8, 2026

Hi Omar,

I believe you can simplify your validator to be like the one below and this should allow any value less than 10 or 10.0 in the field. 

 

issue.customfield_12082 != null && issue.customfield_12082 <= 10.0

Hope this helps.

Regards,

Kristian

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events