Custom script to check given value is equal or less than a number

ICU Medical
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!
July 10, 2023

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

 

1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
Laurie Sciutti
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 10, 2023

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  

Laurie Sciutti
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 10, 2023
TAGS
AUG Leaders

Atlassian Community Events