I created a Custom Field Type "Number". I want to configure the field, so only one decimal can be entered in this field.
so only x.y and not x.yz
How can I do that?
It is not possible to restrict.
However, via automation, you can convert the value to floor and ciel.
Automation smart values - math expressions | Cloud automation Cloud | Atlassian Support
@Tiziana Pisenti - You can add a "Regular Expression Check" validator on the workflow transitions (where ever the field validation is required) to validate the format entered in the field.
Use the following regular expression to allow numbers with only one decimal place:
^\d+(\.\d{1})?$
This validation will only apply when creating or transitioning the issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.