Forums

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

What is the correct JQL for using in a query for Epic names for using in swim lanes?

Tom Horton
Contributor
May 6, 2019

I'm a new user to Jira and JQL and I'm trying to setup my project Scrum board to show swimlanes based on Epic names.

I tried the this query for one of the epic names but it doesn't appear to work

project = DEV AND "Epic Name" = EnvImprov ORDER BY priority DESC, updated DESC

I tried the query with and without quotes around EnvImprov.

Is this query wrong or is this not possible?

1 answer

1 accepted

1 vote
Answer accepted
Jack Brickey
Community Champion
May 6, 2019

Hi Tom and welcome to the Community. Why do you want to use queries vs. simply using swimlanes by Epic?

regarding the query, can you try to paste it into the search for issues screen and observe the results?

Tom Horton
Contributor
May 6, 2019

I want to use a combination of queries for finding issue types and epic names and display them on the same board.

When I try to use the query:

project = DEV AND "Epic Name" = Cleanup ORDER BY priority DESC, updated DESC

in a find, only one record is found. Do I have to specify to return all records found?

Thanks for the help!

Jack Brickey
Community Champion
May 7, 2019

ok so the issue here is that the JQL is doing exactly what you are asking but not what you are wanting. :-)

Try this...

project = DEV AND "Epic Link" = theEpicLinkforCleanup ORDER BY priority DESC, updated DESC

replacing theEpicLinkforCleanup 

you are asking for Epic Name which is for the Epic itself. You want to find all issues that have the associate "Epic Link"

Like # people like this
Tom Horton
Contributor
May 7, 2019

Thanks, that was the issue. Just getting used to the terminology and structure of Jira.

Suggest an answer

Log in or Sign up to answer