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.

 

Thanks!

2 answers

0 vote
Alexey Matveev Community Champion Jan 09, 2018

Hello,

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:

https://confluence.cprime.io/display/JJUPIN/JQL+Support

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.

Cheers,

Branden

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:

https://scriptrunner.adaptavist.com/latest/jira/custom-jql-functions.html

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,067 views 15 13
Join discussion

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