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 votes


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 votes

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.



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 Sign up to answer
Community showcase
Published Jan 29, 2019 in Jira Software

Transforming Jira Software projects for general project management purposes

...It's true that there are projects in Jira; but they are merely a way to cut off issues, to tell them apart from other sections of work and to apply rules that are specific to that team (the schemes)....

155 views 0 6
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