Project cloning should provide an option to replicate history of metrics #4279
Labels
enhancement
New feature or request
good first issue
Good for newcomers
p2
Non-critical bugs, and features that help organizations to identify and reduce risk
size/S
Small effort
Current Behavior
With DT 4.11 and earlier (did not try 4.12 yet), when I clone a project in UI (Add version) or REST API, there are a number of options to clone and re-assign different related aspects such as the history of (manually assigned) vulnerability alert analyses, but no option to copy the history of project metrics (in database terms, the rows of
PROJECTMETRICS
, possiblyPORTFOLIOMETRICS
,VULNERABILITYMETRICS
, and/or other tables with time-ranges when some metric counts applied).As a result, the KPI history of the clone starts just when it was cloned, and forgets the quality history of the codebase before that.
Proposed Behavior
Add REST API and UI options to copy metric history if the caller wants to (not by default as this can hog storage space).
When copying, rewrite respective IDs as needed.
Code base investigation might start from where the cloning options are defined:
Checklist
The text was updated successfully, but these errors were encountered: