In the payload example for /api/issues/search, we have the following:
{ "paging": { "pageIndex": 1, "pageSize": 100, "total": 1 }, "issues": [ { "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123", "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest", "project": "com.github.kevinsawicki:http-request", "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck", "status": "RESOLVED", "resolution": "FALSE-POSITIVE",
We should replace the checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck rule with one of our own .
We should also change the "resolution" to something different in that case.