Filter for Multiple Teams

I have a board with all of our epics on it. Most epics just have one team assigned, but some Epics have multiple. I would like to create a quick filter so I can see which Epics have more than one team.

For Jira, we are using the "Team/s" field. I didn't know if there's something like COUNT("Team/s") > 1 or something similar.



2 answers

0 vote
Alexey Matveev Community Champion Jan 09, 2018


There is no JQL like this out of the box. But you could use an add-on to write such a JQL function. If you are on Jira Server/ Data Center you could use, for example, Power Scripts to create such a JQL function. You can find more info here:

If you need any help, kindly ask.

0 vote

Hi James,

Natively JQL does not have a SUM function, however, if you have an add-on such as ScriptRunner you can use that to achieve your goals.  Take a look at the Aggregate Expressions section of the Scripted JQL Functions ScriptRunner knowledge base for more info about how to use these functions.

Another option may be to export to CSV and then use BetterExcel Plugin for JIRA to see this data.

In the meantime please vote on JQL "count()"-function for multi-value-fields to help get this added to JIRA natively.



Alexey Matveev Community Champion Jan 09, 2018

Aggregate Expressions in Scriptrunner only show summary data for a jql query. You can not filter on the summary data. What you could use from Scriptrunner is Custom JQL functions. You can read more information here:

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

39 views 0 3
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot