Gibson pleaded guilty to committing grievous bodily harm without intent, threats with an offensive weapon against two people, and two counts of criminal damage to their property in Langwith Junction, Derbyshire, on 8 May 2024.
Det Con Bethanie Foster, of Nottinghamshire Police, said Gibson had gone to “great lengths to escape justice”.
She added: “We simply will not tolerate assaults on police officers, or other emergency workers.
“Although frontline officers, like those on the knife crime team, are prepared to place themselves in harm’s way on a daily basis, coming under attack like this while on duty is not part of the job description.”