Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Count components with bugs if there are several components in dashboard

The goal is to count how many components are in scope now (type = bug AND status != closed) in numbers and reflect it on dashboard. But the problem is that there are several components (ex. IT-System, Lead, Cluster).

Would appreciate your help!

5 answers

If I understand your question correctly its about viewing the count for bugs for each component.
You can try this :

Step 1 : Create a filter for the desired Issue type(like the one in your question - type = bug AND status != closed )

Step 2 : Create a Dashboard and add the widget like a Pie chart. 

Step 3 : Choose the Static type as "Component".

The Pie chart will give you the count of each component. 

Filter : 




Hello, Jaikish

Thanks for replying. Unfortunately, I don't need number of issues. I need number of IT-systems (where IT-systems are one of three components) that have not-closed issues. 

Screenshot 2022-06-08 145124.pngThis is how the structure looks like. In the end I need "5 IT-Systems (nevermind which exactly) are in scope" because it counts if there are some unclosed issues.

So you can create a filter accordingly, which has Component="IT-systems". There are a lot of widgets available for creating a Dashboard. You can explore to check them. May be you can try the "Issue Statistics" widget might help. 

Please let me know if it helps

Each bug has three components. So if I put in "Component="IT-systems"", I will receive all the findings.
Are you available to have a small call in an hour?

Sure. You can ping me (check Social section ) and we can connect to get this fixed.

Please, join the meeting when it's convenient

@Oksana Tkachyk ,

David from ALM Works here.  It looks like you are using our product Structure - Flexible Portfolio & Project Management for Jira. 

Were you and @Jaikish Pai able to find a solution?

It sounds like you are trying to get a count of all the Open bugs (or other issues) that have an "IT Systems" component.

If this is the case, we can most likely solve your goal with a Formula, that is if you have not already found a solution.

Looking forward to your response.


Like Oksana Tkachyk likes this

Dear David, 

Unfortunately, we did not find a solution!

Each issue has component "IT-systems", so we do not have to filter by components, we need to count components themselves. 

You mentioned using formulas. It can be the solution. But firstly, I have no idea how to write down formula "count IT-Systems if status != closed". Secondly, there should be some specific gadget that can reflect these numbers when the condition is satisfied. 

If you have any clue how to solve it, please let me know!


Hi @Oksana Tkachyk ,

Let's set up some time to review the goal in more detail.

Could you please open a new support request and mention me?  You can create one via email or through our customer portal


Hello Oksana,


try a custom filter to filter you data (type = bug AND status != closed) and then try the 2-dimensional Gadget in the Dashboard.

That should  show the count of issues per component 

Felix, thanks for responding!

In this case I receive a list of components and then number of issues for example.
But I need to receive the number of components where not-closed issues are.

Will appreciate if you can help find the solution!

just as described, create a filter for (type = bug AND status != closed) and use a 2 dimensional or pie chart to solve your problem.

is the filter the problem?



Screenshot at Jun 08 15-09-19.pngScreenshot at Jun 08 15-08-44.png

You should be able to solve your problem , using below fields:

Issuetype  = defects/bugs (whatever its called at your side)

status != Closed

use the 2-dimensional chart on your JIRA Dashboard with these fields. 

It should show you your desired results.

Try this out.

The two-dimensional filter results gadget in the dashboard will give you the count of open per component and the total components listed as well in the statistics in bottom right of the table

Hi Oksana,


I suggest creating a filter (type = bug AND status != closed) and use that filter in the Pie Chart on your dashboard. By setting statistic type value for "Components" you should see nice representation of data.


Kind Regards,


Thanks for reply, Maksym! This is what I tried but then I receive the number of bugs for each component. The number I need - how many IT-Systems (component) have open bugs.

Do you have any ideas on this?


Well, you first you have to create a filter and use it in the configuration of pie chart. Make sure that your filter contains only bugs that are open. After that you will see the distribution of open bugs per component AND total number of open bugs for all possible components.

Maksym, the thing that should be reflected on the dashboard is the number of components, but not the number of issues.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you