On our board, we have stories displaying in swim lanes, and all sub-tasks for that story appear in the swim lane under their parent story.
The filter I want is for my testers, I want to only display stories that are "ready for testing". Stories are ready for testing when all dev tasks are moved to "Done" and only test tasks remain.
Therefore, I want to filter my board so that stories only display if "Status != Done" AND ALL sub-tasks are in this filter: "Status = Done OR (Status != Done AND issuetype = Story-test)".
something like this I imagine:
issuetype = Story AND Status != Done AND <has no sub-tasks> in !(Status = Done OR (Status != Done AND issuetype = Story-test))
I just don't now how to represent the "has no sub-tasks" part in JQL.