Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-13923

Remove the mention of Checkstyle in /api/issues/search

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.7
    • Component/s: Web API
    • Edition:
      Community
    • Production Notes:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              wouter.admiraal Wouter Admiraal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: