Create a quick filter with JQL:
issuetype != Sub-task
As quick filters are easily accessible on the top of your board, you just need to click on it to activate and filter out all your subtasks from the board.
issuetype in subTaskIssueTypes() worked for me.
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.