I have a friend that bought a Glock 17 brand new and had problems with an occasional jam. I believe he was using Federal ammo. I can't remember the exact type but I know it was a target round and not a carry round he had problems with. After about 250-300 rounds the problem went away.
From what you wrote it sounds like you don't have any problems with your other Glock so I am not sure it is your shooting form/grip.
Shoot the Hell out of it and maybe try different ammo and see if the problem continues.