We auto generate some subtasks (for demo we'll say the Summary for each is Subtask A, Subtask B, and then Subtask C. During some transitions we want to check to see if the specific subtask is Closed.
Using the JMWE Linked Issues Status validator and need to add a conditional validator. I have the following to see if a subtask exists with that summary but need to also check the status of that specific subtask.
!!issue.subtasks && issue.subtasks.some(it => it.summary == "Subtask A")
Perhaps a Build Your Own Validator makes more sense.