I am from the US.
I have never heard or seen "I gotta jam" (= "I have to jam") to mean "I have to leave"/"I gotta leave".
It's possible that a particular community or group of native speakers uses this expression as local slang or in-group slang, but so far it is not used by most people who are not part of that particular community or group.