Display count of issues grouped by Component

I have N issues, spread over M components. I just want to see a count of issues per component. I can easily do this in an SQL query. How do I do this in a JIRA query?

1 answer

1 accepted

0 vote

JQL is for finding issues.  How you display the results is how you get to see information about the data that a list will contain.

This is a doddle though.  Create a filter that finds your N issues and save it.  Go to your dashboard, and add a "filter statistics" gadget.  Tell that to use your saved filter, and to use "component" as the metric.

It will now answer your question.

Awesome. Two dimensional filter statistics does exactly what I want!

One more question. My filter that I use for the gadget currently contains a hard-coded date (resolutiondate>something). I want to be able to change that "something" on the fly when using the gadget in the dashboard. Is there a way to get a date-picker in the dashboard and apply that to the filter when rendering the gadget content?

Oops, I meant the simple filter gadget, which gives you a simple bar chart, but the 2d one should answer the question too (and possibly better, if you want to combine it with other fields!)

You can't feed dates into things like that though.  The best you can do is use a dynamic date in your filter ( like startDayWeek (-7) and so-on )

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
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

82 views 0 5
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