Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Count components with bugs if there are several components in dashboard

Oksana Tkachyk
Contributor
June 8, 2022

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

2 votes
Jaikish Pai
Contributor
June 8, 2022

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 : 

Filter.jpg

Dashboard:

Dashboard01.jpgDashboard02.jpg

Oksana Tkachyk
Contributor
June 8, 2022

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. 

Oksana Tkachyk
Contributor
June 8, 2022

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.

Jaikish Pai
Contributor
June 8, 2022

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. 

Jaikish Pai
Contributor
June 8, 2022

Please let me know if it helps

Oksana Tkachyk
Contributor
June 8, 2022

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?

Jaikish Pai
Contributor
June 8, 2022

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

Oksana Tkachyk
Contributor
June 8, 2022

Please, join the meeting when it's convenient
meet.google.com/kqi-gmgz-itj

David Niro
Atlassian Partner
June 9, 2022

@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.

Best,
David

Like Oksana Tkachyk likes this
Oksana Tkachyk
Contributor
June 10, 2022

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!

BR,
Oksana

David Niro
Atlassian Partner
June 10, 2022

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 support@almworks.com or through our customer portal support.almworks.com

Best,
David

2 votes
Felix Haverkamp
Contributor
June 8, 2022

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 

Oksana Tkachyk
Contributor
June 8, 2022

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!

Felix Haverkamp
Contributor
June 8, 2022

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

0 votes
Walia, Mandeep
Contributor
June 8, 2022

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.

0 votes
Fiona Brown
Contributor
June 8, 2022

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

0 votes
Maksym Ivanchenko June 8, 2022

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,

Maksym

Oksana Tkachyk
Contributor
June 8, 2022

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?

BR,
Oksana

Maksym Ivanchenko June 8, 2022

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.

Oksana Tkachyk
Contributor
June 8, 2022

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
TAGS
AUG Leaders

Atlassian Community Events