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
- the user should be able to set "5d" or "3h 30min"
- under the hood, this should be transformed into minutes back and forth