Here's what I'm trying to do:
We have Story issues in a status of 'Pending Bug'. These stories have a variety of subtasks that represent development tasks, testing tasks, bug (bug sub-tasks), etc.
I'm trying to write a rule such that when ever the status of a sub-task changes, we find the parent (the Story), and the evaluate if all of the subtasks that are not of the 'QA Testing Sub-Task' type are in a status of 'Done', 'Closed, or 'Cancelled'. And then, if they are -> change the Story status to 'QA Ready'.
I hope that makes sense - thanks for any help!