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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

145 views 1 17
Join discussion

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