If I understand correctly, you’ve upgraded from 5.6.4 (via 6.7.x) to 7.9.4 and you’re double-checking that your Quality Gate configuration made the move in tact(?) Either that or you’ve got the 2 versions side & you’re trying to recreate in 7.9.4 the same QG you had in 5.6.4(?)
Either way, I guess the explanations are the same.
Somewhere between the two versions (memory grows fuzzy about exactly when) we revamped QG configuration because we realized it was confusing and led people to do things they didn’t mean to do. Basically:
“Over Leak Period” got translated to “On New Code” and you select it before you pick the metric, not after
We dropped the Warning condition type because it seemed to offer little value on the whole.
Okay! It’s easy to forget that the interface has changed (and when it changed). So in your case, the dropdown will contain all available metrics, both “on New Code” ones as well as the overall metrics.