You can consider me a well wisher of Turkey, as a Pakistani and a visitor of Turkey twice, i have nothing but love for my fellow Turkish brethren. But being objective, i cannot help but state that this was not a wise move from the Turkish Government.
First of all, Turkey has a very potent AD Network, thus TUAF knew exactly whether it was a SAAF or RUAF SU24. Second, it does not matter whether the SU24 was bombing ISIL or another target. The fact is, the SU24 posed no threat to Turkey's Sovereignty whatsoever. Shooting down an opposing Airplane is the last option one exercises unless the a Nation is at war with the Opposing One. Turkish Jets could have escorted the SU24 out of its Airspace, deployed chaffs/flares to warn it or fly close to it aggressively. It appears Turkey did not exercise any of this, and simply decided to shoot down the plane.
Well than, with all due respect you have just signed their death warrant. After the shooting down of this plane, Russia will act with impunity and will want revenge for the death of their pilot. You can be damn sure that Russia will want its pound of flesh, i am willing to bet that an offensive will be launched and this time with the support of Russian Ground Troops. Overall, not a wise decision by Turkey.