Donnelly was appointed to a casual vacancy caused by the resignation of Treasurer Michael Egan[6] and currently serves on several parliamentary committees.[3][4]
Donnelly has written opinion pieces criticising the representation of women in advertising,[7] a proposal for same sex couples to adopt in NSW[8] and has spoken in NSW Parliament about his opposition to pornography,[9] and has opposed a marriage equality bill put by the NSW Greens.[10]
In November 2016, Donnelly wrote an opinion piece[11] opposing the Safe Schools program.
In May 2017, Donnelly was one of three Labor MPs to vote with the Liberal Party and National Party to block a bill to decriminalise abortion in the state.[12]
In June 2023, Donnelly attended and spoke at a pro-women event in NSW Parliament called "Why Can't Women Talk About Sex", attended by figures like Moira Deeming and One Nation MP Tania Mihailuk. He declared that "there will be a reckoning taking place", and expressed regret that more of his Labor colleagues did not attend. He has faced criticism online, and from the Greens, for his attendance, however, he has received no official condemnation from NSW Labor.[13]