How do I query epic field value only in quick filter JQL?

Wojciech Liwanowski February 26, 2024

What I would like to achieve on Active sprint view:

  • group issues by Epic
  • show Epics to which I am assigned (for us it means responsibility of delivery it as a whole)
    AND
  • show all their children, whether I am assigned to them or not

The trick seems to be related to filtering Assignee field value from one issue type only, ignoring these values from their children.

Using predefined filter on my avatar shows just the issues I'm assigned to. I can't get anything even close to the desired effect via quick filters.

I feel it's either impossible to achieve or so simple, that I can't think of it :)

1 answer

0 votes
Nic Brough -Adaptavist-
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.
February 26, 2024

Welcome to the Atlassian Community!

This would need you to create a lot of potentially quite complex swimlane filters, and lead you to a board that is mostly useless for other people, which sort of defeats the point of a board (boards are intended to be the publically visible display of everything the team is working on)

Grouping issues by Epic is built-in, but if you use it, you can't add any others.

I would move towards a more usefully shared board for this.  Start by grouping by Epic as built in, but then add quick-filters that you can use to hide stuff you don't want to see when you are doing your drill-downs on.  One for "assignee = currentUser()" is very useful generally, but your need is more "assignee = currentUser() or issuetype in subtaskissuetypes()" so that you can still see all the sub-tasks when not assigned to you., and another for "issuetype = Epic" or probably "issuetype = Epic and assignee = currentuser()" to get you a high-level overview.

Wojciech Liwanowski February 27, 2024

Thank you for a quick answer.

I've tried many configurations for quick filters. One thing, I can't figure out is how to narrow Epics just for those, I've been assigned to, but at the same time showing all their children, regardless who's assigne to those.

I haven't tried issuetype yet though, gotta check this out.

Wojciech Liwanowski February 29, 2024

I've tried your suggestion but it doesn't work. Different Quick filter seems to be connected with AND operator, thus currentuser() narrows all issues to me, regardless of other quick filters settings. 

When I try to put them in a single filter, JQL removes brackets making it useless. I was trying such approach:

"((assignee = currentuser() AND issuetype = Epic) OR (issuetype in standardIssueTypes())"

What's more, when I use "assignee = currentuser() AND issuetype = Epic" only, there is not a single issue shown (like epic group isn't even shown, if jira can't show even one task or subtask in an active sprint view).

Nic Brough -Adaptavist-
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.
February 29, 2024

Yes, that's what quick-filters are for - drilling down and narrowing the data to a sub-set.  That means "and"ing them together.

Why are you removing the parenthesis that explain what you mean to Jira?  The search does not remove parenthesis from what you have typed or pasted in.

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