Brothers and Sisters,
reffering to this article
https://community.atlassian.com/forums/Jira-questions/Groovy-issue-VALUE-field-validation/qaq-p/3170649#M1163596
I want to build another validator when ticket status can be changed when at least one of below radio button field is "YES". I am using JMWE -> Build-your-own-validator.
1. customfield_1 (YES/NO)
2. customfield_2 (YES/NO)
At leas 1 field must be YES. So i guess i have to use "OR" in my groovy.
I tried below but it is not SO simple as i thought.
issue.get("customfield_1") == "Yes" or issue.get("customfield_2") == "Yes"
Can u help please...i know again it looks like VERY basic script but i have never worked with groovy before.