Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Group by swimlanes not working if filter limits epics on display

I'm stuck with a problem and need a fresh pair of eyes...

We have one project for all the work the development team has to do across BAU/Support and new functionality/projects. Every major project deliverable translates into an Epic in Jira, while Support and BAU tasks get grouped into a BAU epic.

We want to have two separate boards (within the same project) - one for BAU and the other for Projects. But whenever I exclude the BAU epic in the board filter I can no longer use the epics as swimlanes.

So this: "project = ALPHA ORDER BY Rank ASC" shows me a full Kanban board with swimlanes around epics which is perfect. All we now want to achieve is hiding the BAU epic from view as that has its own separate board.

Changing the filter to "project = ALPHA and "Epic Link" != ALPHA-729 ORDER BY Rank ASC" still shows 300 results in the issue search but when I change the board filter to use this updated version I get "No issues currently visible" while having swimlanes set to Epics. If I use swimlanes against any other selection (eg assignee or story) it works fine.

Is this a bug or am I doing anything wrong?


2 answers

0 votes
Tarun Sapra Community Leader Apr 12, 2019

Hello @Kirsten Achtelstetter 

The problem is in the query

project = ALPHA and "Epic Link" != ALPHA-729 

Epic-Link exists only on stories/tasks and not on epics so automatically you have excluded all the epics.

Try the query

project = ALPHA and key not in ("ALPHA-729")

That only excludes the "BAU" epic itself, ie that one issue - my search results go from 880 to 879 rather than the 300 odd it should be dropping to.

It seems like the obvious way to get around this would be to include the epics I do want to see would be to list all the epics that are in scope but that is obviously going to be an outdated list very quickly and is much less powerful than just saying "all - 1".

Any other ideas? All I seem to be able to find when googling this points to me having to install the ScriptRunner plugin, which I won't be able to do given budget impact.

Tarun Sapra Community Leader Apr 12, 2019

Hello @Kirsten Achtelstetter 

Could you please elaborate as to what you expect on the second board, do you expect all the epics on the 2nd board because if the epics are not there then you can't use swimlanes by epic. Hence you would need epics in the search results but you can't use the epic link field as that will not fetch epics but only stories.

I need all the epics and associated stories / tasks / subtasks that make up the project APART from the ones linked to the BAU epic. Effectively I need a way to exclude all stories linked to the BAU epic but show everything else. 

Tarun Sapra Community Leader Apr 13, 2019
project = ALPHA and ! (key in ("ALPHA-729") or "Epic Link" = ALPHA-729) 

Try this query, it will get all issues but epic 729 will be ignored and all stories which have epic-link 729 will be ignored as well. 

Sadly that doesn't work either - it yields the same result as just excluding the Epic Link Alpha-729; ie all epics are filtered out thus making grouping by epic impossible.

There must be a way to include all epics except one, without having to list all the epics to include (which would mean that we would have to update the query every time we create a new epic)??

Tarun Sapra Community Leader Apr 23, 2019

Hello @Kirsten Achtelstetter 

"There must be a way to include all epics except one"

Can you share the issue navigator screenshot of this query

project = ALPHA and ! (key in ("ALPHA-729") or "Epic Link" = ALPHA-729) 

Because this query should should fetch all issues except epic 729 or child stories of epic 729

This is what it should be returning - 408 stories/bugs/tasks and 29 epicsJira_query_2.PNG

This is what your query returns - exactly 29 epics short.Jira_query_1.PNG

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

194 views 6 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you