I need to add a validator with Custom script to check if given value is equal to or less than a number.
cfvalues[base]<=10
Hello ~ since you added the scriptrunner tag, have a look here for an example script: https://community.atlassian.com/t5/Jira-questions/How-do-I-validate-the-value-of-a-custom-Number-Field/qaq-p/772850
here are additional examples: https://docs.adaptavist.com/sr4js/latest/features/workflows/validators/built-in-validators/simple-scripted-validators
It looks like you're new here. Sign in or register to get started.