Forums

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

Mismatch on reports for Component count

Christopher Taylor October 16, 2020

Hello,

We have a strange issue appearing when we attempt to report, via a pie chart, on one of our JIRA projects. Steps to re-produce this issue:

1 - On the project I go to Reports > Pie Chart Reports
2 - Leave the "Project or Saved Filter" as is and change the Statistic Type to "Components"
3 - Run the report
4 - I see there is a large part of the chart called "No Component"
5 - If you click through on this piece, however, I'm brought to a search view that gives no results (JQL: project = projectName AND component is EMPTY)

Any ideas on what may be causing this issue? We've attempted to view the component data in several ways, and nothing seems obvious when it comes to the incorrect count.

Thanks in advance.

2 answers

0 votes
german_gonzalez_amado
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 30, 2024

Chris, did you ever got a response to this? I'm facing a very similar behaviour in my JIRA instance.

The "No component" piece of the pie, with a number of items supposedly found in that category on the chart, show "No issues were found to match your search" when accessing the results (clicking on the "No component" entry); and it searches for a "Component is Empty" when there are no records in that condition. The rest of the "pieces of the pie" and the "Total Issues" add up perfectly.

2024-04-30_18-28-54.jpgSnag_7848212.png

Christopher Taylor May 21, 2024

Hi,

Keep in mind that this would be a four year old memory, but I believe what ended up fixing this permanent was running a re-index on the system. This put everything back in alignment.

Chris

Like Nic Brough -Adaptavist- likes this
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2024

It's worth a try re-indexing, but if that fixes the problem, you should follow up with a review of why your index is getting corrupted - it is likely that you have a script, process, or plugin that is damaging your index because it's poorly written and trying to do bad things.

However, in this case, I think we need another look at your searches.  Can you run some searches and tell us how many issues each one returns?

Base all of them on what your gadget is configured for.  If for example, your gadget is set up to use "project = ABC and resolution is empty", then the searches we need to get numbers for are:

  1. project = ABC and resolution is empty
  2. project = ABC and resolution is empty and components is empty
  3. project = ABC and resolution is empty and component = "No component"
  4. project = ABC and resolution is empty and component = "No component"

 

Like German Gonzalez-Amado likes this
0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 16, 2020

What is the "project or saved filter" you're working with?  (If it's Project, then is the project set to projectName, and if it's a saved filter, what is that saved filter?)

Christopher Taylor October 19, 2020

Hi Nic,

Yes, it would be Project, and the name would be set to projectName.

Thanks,

Chris

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2020

Apologies for the delay, I've been very busy

Ok, can you run these JQL queries and tell us the numbers each one returns?  (Yes, I know, you've run the first one already, but I'd like to see what it does when you run it from the issue navigator, rather than the pie chart)

  • project = projectName AND component is EMPTY
  • project = projectName AND component is not EMPTY
  • project = projectName AND component = "No Component"
Christopher Taylor October 21, 2020

Hi Nic,

No problem, thank you for the help so far.

project = projectName AND component is EMPTY - 1 result (this was a new issue created yesterday which hasn't been classified yet)
project = projectName AND component is not EMPTY - 1984 results
project = projectName AND component = "No Component" - I get an error when running this... "The value 'No Component' does not exist for the field 'component'."

Thanks,

Chris

Suggest an answer

Log in or Sign up to answer