I want to filter stories and their related sub-tasks on a Jira Kanban board. Swimlanes of the Kanban board are based on stories.
The query behind the board is currently: "project = OTE AND type != epic ORDER BY Rank ASC"
Unfortunately Epics containing sub-tasks are also appearing on the board.
Is there a possibility to hide the epics with sub-tasks from the board with for example ScriptRunner functionality?