The officer was taken to hospital with "moderate" injuries after the attack in the walled Old City, police spokeswoman Louba Samri said in a statement.
Police identified the assailant as a 57-year-old Jordanian man who had been visiting Israel for the past three days.
They said he brandished a knife and stabbed the policeman in one of the alleys of the Old City before the wounded officer shot him dead.
A wave of unrest that broke out in October 2015 has claimed the lives of 263 Palestinians, 41 Israelis, two Americans, two Jordanians, an Eritrean, a Sudanese and a Briton, according to an AFP count.
Others were shot dead during protests or clashes, while some were killed in Israeli air strikes on the Gaza Strip.
Disclaimer: No Business Standard Journalist was involved in creation of this content
