I want to be able to show stories and their related sub-tasks as a parent issue on a Sprint Board. Issues without sub-tasks will be shown in their own group at the bottom. I am looking for the JQL query that is used for JIRA cloud's default Stories based swimlane. What I want to add is the ability to also show blocked issues. I assume the only way to accomplish this is to write the appropriate JQL queries.
I want to show blocked issues - I know the JQL code for this query
If an issue is not blocked, or there are no blocked issues for the sprint, then I want to be able to show stories with the subtasks group with the story, just like the default "Base Swimlanes on Stories"