Query for priority and label in kanban swimlanes

I'm trying to set up swimlanes on a kanban with the following queries:

Fast Track: priority = "High " ORDER BY createdDate

Pull Next: (priority = "Medium " OR priority = Low) ORDER BY createdDate

Backlog: (priority = "High " OR priority = "Medium " OR priority = Low) AND labels = backlog

HOLD: (priority = "High " OR priority = "Medium " OR priority = Low) AND labels = hold

The Backlog and HOLD swimlanes are not showing. Can you help me structure my query so that issues labeled with "backlog" or "hold" adhere to their respective swimlanes?

2 answers

1 accepted

Hi John,

I managed to get it to work with the following queries:

Fast Track: priority = "High " AND labels not in (backlog, hold) OR labels is EMPTY

Pull Next: priority in ("Medium ", Low) AND labels not in ('backlog', 'hold') OR labels is EMPTY

Backlog: labels = backlog

Hold: labels = hold

Thanks!

I think you should change the priority statements.

If I understand correctly, for Backlog, you're looking to include any issues labeled "backlog," and has a priority level of either High, Medium, or Low. If that's the case, this query would probably work better:

priority in ("High", "Medium", "Low") AND labels = backlog

Please reply back and let me know if it worked.

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 yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

58 views 0 5
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