I’m using version 22.214.171.12442 of the SonarQube Community edition and I’m trying to use the APIs to produce some reports against a specific project.
I’m using api/measures/search_history with the from (start time), to (end time) and component parameters.
This pulls me back a decent set of data that looks like this (and there is some other data as well):
So i’m trying to pull back the matching information of the actual issues that were opened and closed in this time (and therefore who hasn’t closed issues raised) using the API api/issues/search with the createdAfter (start time), createdBefore (end time) and componentKeys parameters. I assumed this would pull be back the same numbers off issues but it doesn’t.
Instead it pulls me back the following (which is matched from the SQ console):
Why is there a difference and how do I map up the stats between two time periods and the details of who created an issue and didn’t resolve it?