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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,241 views 10 18
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