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

Fail to request new_development_cost measures

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.1
    • Component/s: Measures, Web API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      The metrics new_development_cost is typed STRING instead of DOUBLE. That makes the web API api/measures/component fail with:

      curl -u admin:admin "localhost:9000/api/measures/component?component=<projectKey>&metricKeys=new_development_cost"
      {
         "errors": [
            {
               "msg": "Unsupported metric type 'STRING' for numerical value"
            }
         ]
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: