Operator: Change Rotation Mode
This is an operator for changing a bone's transform space from e.g. XYZ Euler to YZX Euler, etc., preserving or overwriting key keyframes and automatically keying the rotation mode.
This is already available in Rigify rigs, but I'd like to make it available as an operator independent of Rigify's scripts.