I know this is pretty dated but this might help someone else that find this posting. In my case I just wanted to be able to "hide" sub-tasks by collapsing them so I did the following below:
A possible alternative would be to update your board configuration as follows: Board > Configure > Swimlanes > Base Swimlanes on "Stories" instead of Queries. That might work for your situation
Or...
The right quick filter is (for me) :
project = "Name project" and issuetype not in (Sub-task)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use a quick-filter like "issuetype in subTaskIssueTypes()"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.