Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL for Multiple Swimlanes Based on Queries

Nicholas Ren
Contributor
June 28, 2022

Hi. 

I don't have any knowledge about JQL so I'm seeking help from individuals that do. 

I am looking to create swimlanes on my Kanban board based on a field in my Epics. I have a field called Projects and this has multiple choices called Data and BDT. So when an Epic has both of these choices selected, the same Epic will appear in both the Data swimlane and BDT swimlane.

 

Thanks, 

2 answers

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 29, 2022

Hi @Nicholas Ren -- Welcome to the Atlassian Community!

Short answer: with a Jira board it is not possible for an issue to appear in multiple swim lanes.

For a company-managed project (CMP) the swim lanes are selected by different criteria, including the option of use JQL on issue data.  The order you place the JQL filters determines both the order of the lanes and in which lane an issue appears (if it meets multiple different query criteria).

For a team-managed project (TMP) the swim lanes are done using the group-by feature, and so the values are distinct.

 

What problem are you trying to solve by having an issue appear on a board multiple times?

 

Kind regards,
Bill

Nicholas Ren
Contributor
June 29, 2022

It was more of a hypothetical question because some custom fields of mine can have multiple selections but I've just seen how simple basic JQL is and I can see that I can set up my board like my scenario.

Like Andre VORAKHOUMANE likes this
0 votes
Chu Dam
Community Champion
June 28, 2022

Hi @Nicholas Ren 

You can build your JQL using the basic search by simply selected your criteria, it simple and efficient, select your field, select a value and search. It will work perfectly in your case. 

https://support.atlassian.com/jira-software-cloud/docs/perform-a-basic-search/

If you want to learn JQL, it's quite simple, you just need to spend some time on it to learn it, there is some great resources on Atlassian website: 

In your case the JQL filter should be: 

Projects in ("Data", "BDT")

But again using the basic search and by selecting your criteria, you can do it easily. 

I hope this helps. 

Cheers,
Dam.

Nicholas Ren
Contributor
June 29, 2022

Thanks! I just had a look at it again and it's straight forward. I initially thought it was going to be complicated.

Like Chu Dam likes this
Chu Dam
Community Champion
June 29, 2022

the same Epic will appear in both the Data swimlane and BDT swimlane

I'm not sure if the Epic will appear in both swimlane, cause like @Bill Sheboy mentioned an issue can appear only in 1 swimlane... but the JQL infos I gave you will help you to build your own search and improve your board, that's for sure :) 

Cheers,
Dam.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events