TracStatsPlugin does not properly count imported tickets
|Reported by:||Owned by:|
Description (last modified by )
Change  changed the results of the get_num_closed_tix() and get_num_open_tix() queries. The new version does not cooperate with batch-modified tickets. Neither version completely cooperates with tickets imported with status=closed via the TicketImport plugin.
- Use TicketImport to import a set of bugs from CSV, some with open status and some with closed.
- Version  of these methods do not correctly add the already-closed tickets to the new and closed statistics; there also appears to be a miscount. Version  of these methods count the already-closed tickets as still-open.
Attempted failed workaround: Taking all the closed tickets, re-opening and re-closing them still does not get TicketStats to correctly count them.
Note: I am not sure it is entirely possible to get accurate statistics just by looking at the ticket_change table. The  version of these queries look like they'll provide more accurate results. I believe it is far more important to users for these statistics to be accurate rather than fast.
Change History (12)
comment:8 Changed 4 years ago by
|Summary:||TracStatsPlugin Change 13107 does not properly count batch-modified tickets → TracStatsPlugin does not properly count imported tickets|