-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 7.0
-
Component/s: Quality Gate
-
Labels:
When an issue change causes project level measure updates, we should recalculate the projects current quality gate.
We should always recalculate all conditions (even if their measures have not been updated), because the quality gate might have changed since the latest calculation. Quality gate changes could be:
- Changes of conditions
- Adding/removal of conditions
- Switching to another quality gate
The quality gate recalculation should insert or update (in latest_measures, not project_measures):
- alert_status measure
- quality_gate_details measure
(side note: the gate_status and gate_text columns do not exist in latest_measures and hence do not need to be updated)
The webservice api/qualitygates/project_status has to be updated to read latest_measures instead of project_measures
The webhooks will be called, if the quality gate color changed.
- contributes to
-
MMF-744 Quality Gate and Project homepage must be up-to-date even when editing issues
-
- Closed
-