Forums

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

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 Champion
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  

TAGS
AUG Leaders

Atlassian Community Events