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 vote

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 Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

30 views 0 3
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot