Hi Hailey
As Jura says, normally you would use "the shoe.." or 'the boot..", and they mean, according to the Free Online Dictionary: "One is experiencing the same (often bad) things that one caused another person to experience."
You can use 'jackboot' as a variation of this, but it has a much harder, and often more sinister, meaning. It implies a sense of oppression or threat, not just advantage. This is because the word 'jackboot' can be interpreted as a euphamism for an oppressive, military or fascist regime. So, "the jackboot is in the other foot" means that the oppressor becomes the oppressed and vice versa.