Reputation: 627
I would like to retrieve the number of "false positives" and "won't fix" a project has along the time, so I am using the TimeMachine API.
I am able to list the "false positives", but not the "won't fix", using below URL:
api/timemachine/index?metrics=false_positive_issues
But I did not see a metric for "Won't fix" on the Metric Definitions documentation.
There is a REST service, GET api/issue_filters/search, that allows retrieving info for both "false positives" and "won't fix", but only for current user.
I have two questions:
Thanks!
Upvotes: 0
Views: 452
Reputation: 627
The metric to be used is "wont_fix_issues".
Example:
http://localhost:9000/api/timemachine/index?resource=1&metrics=wont_fix_issues
Thanks a lot to G. Ann - SonarSource Team for providing this answer through their support group!
Upvotes: 0