I would like to create a filter which shows all closed tasks with open sub-tasks. Like this one for example: DARWIN-9 has 2 open subtasks

However, the query "key = DARWIN-9 and key in hasSubtasks("status != Closed")" results in "No issues found". What do I need to change in my syntax? Thanks in advance