The shooting happened in Imam Sahib area of the district near the the camp of the special operations group (SOG) of Jammu and Kashmir Police, a police official said.
Special Police Officer (SPO) Khursheed Ahmad, who was injured in the attack, was rushed to the sub-district hospital.
Police have launched a hunt to nab the attackers, the official said, adding that further details are awaited.