2014 Jeep Compass rough idle, misfire code

rough idle check engine light on scan code indicates number 4 cylinder misfire

I am guessing you are trying to ask a question and not just letting us know. so, I will leave you this just in case you are…

Jeep Compass P0304: Cylinder 4 | Misfire Detected | Drivetrain Resource (700r4transmissionhq.com)

My initial thought is a bad coil pack. However, I am not a mechanic so take it for whatever it’s worth.