The man was shot after attempting to enter Jerusalem by climbing over a barrier separating the city from the occupied West Bank.