Law department Secretary Mohammad Ashraf Mir said Sharma has been transferred from Home Department to Education Department and it was a "normal" procedure.
"Yes, he (Sharma) has been transferred. But it is a normal administrative procedure," Mir told PTI.
Sources said the "Law Ministry yesterday ordered Sharma's removal from Home Department and asked him to now to deal with cases of School Education and Rural Development departments in the High Court."
However, Mir said Sharma's transfer had "nothing to do" with the beef ban case.
Also Read
When contacted, Vishal Sharma said that he is yet to receive any communication from the government.
Hearing the petition, Jammu and Kashmir High Court last week directed the police to ensure that there is no sale of beef anywhere in the state and that strict action is taken against those who violate the law in this regard.
The judgement evoked widespread criticism in the state, with religious and separatist groups terming it as a "direct interference in religious affairs of Muslims of Jammu and Kashmir".
The opposition National Conference has also asked the PDP-BJP government to bring necessary amendments in law to allow sale of beef and cow slaughter in the the state ahead of Eid later this month.
Under section 298 A of Ranbir Penal Code 1932, killing or slaughtering of a cow or similar animal is a non-bailable offence which carries punishment of up to 10 years in imprisonment and fine.