Brothers and Sisters,
reffering to this article
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.
(issue.get("customfield_11777") == "Yes") || (issue.get("customfield_11778") == "Yes")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.