Frankly this was a long time coming. As people said, Cole is the future whether people like it or not, at least in the short term. Better knowing whether he'll be good at RAW or not now and not when JR retires and there's no one to replace him.
They shouldn't told him beforehand but I understand why they did it, he would've said no otherwise.