Stellar irradiated discs and implications on migration of embedded planets III: viscosity transitions