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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.