Need Jql for scenario. I have two components in each jira. I want to ignore one component. But the jira should be counted.
Example
Jira key 1 has component A and B. There can be few jira which are component A .
Now I want to show a chart for all jira with their component but doesnt want one with component A.
Welcome to the Atlassian Community!
I do not think I understand what you are trying to do. Given your example, the JQL is simple - "Component = B" will get you a list of issues that have component B. If you leave mention of component A out of the query, you won't get issues that have A on them, except for the ones that have also have B.
I am a bit stuck on what you mean by "ignore component A, but count the issue".
If you mean "show me issues that do not have A", then "component != A or component is empty" is the answer.
If you mean "show me issues with B on them, but not if they also have A", the "component = B and component != A" will do the job.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.