JQL Query That Replicates Stories Swimlane

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"

1 answer

0 votes

So, here's an example of a JQL showing open work on a current sprint:


project = "My Project" AND sprint in openSprints() AND status in ("To Do", "Reviewing", Documenting, "In Progress") ORDER BY priority DESC, updated DESC 

you can add to that to pull blocked issues.  Status "Blocked" or dependent on how you have blocked represented in a Jira field.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

474 views 2 5
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you