Hello. I am trying to filter by component from different projects. The problem with the jira tickets is that each ticket has multiple components tagged and I am only trying to filter by certain components as I want to display the information in a dashboard
If I use the component not in () and include the components I don't want to appear, the result excludes all the tickets that have these components which isn't what I want to do as some of these tickets also have the components I am trying to filter for.
Does anyone know a query that I can use when creating the filter that allows me to filter for specific components in the tickets to showcase on my dashboard?
Example: A ticket has banana, apple, pears as tagged components and another ticket has banana, strawberry, berries as components. I am trying to filter for the tickets that have banana and to display it in a pie chart on a dashboard that shows how many times banana has been used as a component on the ticket but I don't want the other components like apples to also appear on the pie chart. I hope that makes it easier to understand my question
Hi @Sharif Alsughair What are you expecting to see in the other segments of the pie chart?
I am trying to filter for 5 different components and see how many tickets has these components on the pie chart. The problem I am facing is what I described above which is that the components I am looking to filter for are used on tickets which have other components as well which I don't want to include in the pie chart.
It seems like it is difficult to solve this problem, only way is to create a filter for each component and use the filter counts gadget unless you can help me with a different way?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The answer I gave explains why you can't do it, and why it would be the wrong thing to do.
You will indeed need to filter separately. Or run the results through a gadget that does not try to report on components.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the Atlassian Community!
You can't do this, your reporting would be misleading.
Think of Jira searches as having two parts - the search and the report. The search simply finds a list of issues to report on, ones that match the question you have asked. The report then displays the data on the issues that are found.
In this case, the report is being honest - it's showing you that issues that you found with "component = banana" also sometimes have apples, strawberries, pears and berries as components. It would be wrong to do otherwise.
What you're asking for here is not for the search to change, but the report to drop data you don't want to see. That's an anti-pattern, you should not have misinformation reports.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.