Validator not working Properly

Madhu Reddy 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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