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

Make it possible to enter a work duration value in measure filter criteria and quality gate conditions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3
    • Component/s: Web
    • Labels:
      None

      Description

      With SONAR-4996, we introduced a new type of metric which is "work duration" - for instance for the technical debt. The measures of such metrics are persisted in minutes in the DB and displayed with a dedicated format in the UI (like "5d 4h 30min").

      We should offer an easy way for users to specify a work duration in the 2 following places:

      • the "Metric" criteria of the Measures Page
      • the condition of a quality gate

      IMO:

      • the user should be able to set "5d" or "3h 30min"
      • under the hood, this should be transformed into minutes back and forth

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stas.vilchik Stas Vilchik (Inactive)
              Reporter:
              fabemn OLD - Fabrice Bellingard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: