Hello,
I have a question regarding validating a Jira Checklist.
We are currently using a Add-On named Checklist which gives us the opportunity to validate / transition issues based on the input.
Now the situation:
We have 1 checklist with 3 options:
- Meets SLA Requirements.
- On Site Support
- Remote Support
When Meets SLA Requirements is not checked, we go to the status: Waiting for customer. This is approved by the following condition:
if(issue.get("customfield_10538")?.first()?.checked == true)
{
false
}
else if(issue.get("customfield_10538")?.first()?.checked == false)
{
true
}
But now, I want to check if the 2nd or 3rd option is checked as well so that we can transition to something else. But changing the .first to .second or .third does not work.
How can i do this?