Forums

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

Validator not working Properly

Madhu Reddy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 11, 2020

Added a groovy script validator with Or condition which is not working for me.

I have attached the screenshot for your reference, Could you please review and let me know in case of any errors.

I have added a sprint custom field and tried both sprint ID and Sprint name still not working for me.

Could you please help me on this regard. Thanks in advance. Please correct me if I am wrong.

Validator.PNG

1 answer

0 votes
David Fischer
Community Champion
March 14, 2020

Try this:

issue.getAsString("customfield_10826") != "Configuration" || issue.getAsString("customfield_10101") != "Sprint_name"

Suggest an answer

Log in or Sign up to answer