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

New WS api/metrics/update

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Measures, Web API
    • Labels:
      None

      Description

      The goal is to update an existing custom metric and replace the old RoR PUT api/metrics

      • POST api/metrics/update
      • Parameters
        • id (mandatory)
        • key
        • name
        • type (ex: BOOL, INT)
        • description
        • domain
      • It does not update non custom or deactivated metrics
      • If there are associated custom measures, do not allow to change type
      • Requires 'Administer System' permission.
      • Returns the fully updated object.

        Attachments

          Activity

            People

            Assignee:
            teryk.bellahsene Teryk Bellahsene
            Reporter:
            teryk.bellahsene Teryk Bellahsene
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: