Searches issues which any of their subtasks satisfies the provided subquery. See also: subtasksOf()
Note: Since you need to enclose the provided subquery using doble quotes, you must to escape any doble quotes using in the subquery by preceding a backslash after the double quotes, alternatively you can use a single quote in some cases.
Let's see an example...
This will not work
issue IN parentsOf("resolution = "Won't Do" AND status = Closed")
Searches issues which any of their subtasks are closed and their resolution have been set to "Won't Do"
This will work perfectly
issue IN parentsOf("resolution = \"Won't Do\" AND status = Closed")
Searches issues which any of their subtasks are closed and their resolution have been set to "Won't Do"
issue IN parentsOf("status = 'In Progress' AND reporter = currentUser()")
Searches issues which any of their subtasks are in proress and have been reportered by me