The officers were on patrol when they saw the 35-year-old victim curled up on the floor as he was being punched and kicked in Pearson Street, Netherfield.
The suspects ran off in different directions but the determined officers gave chase and arrested two men nearby in connection with the attack which happened on 22 September 2021.
The victim was taken to hospital with swelling and a cut to his head which needed gluing.
Daniel Marrett and Jordy Mumbiny and subsequently pleaded guilty to assault causing actual bodily harm and were sentenced at Nottingham Crown Court on Friday (18 March 2022).
Marrett, aged 27, of Mora Road, London, was jailed for 13 months and Mumbiny, aged 26, of Barnhill Road, Wembley, London, was locked up for 12 months.
Detective Sergeant Dave Prest, of Nottinghamshire Police, said: “We will always respond swiftly to reports involving violence and we treat such incidents seriously.
“I’m pleased that thanks to our speedy response officers were able to arrest two suspects within minutes of this report which demonstrates our commitment to tackling crime and keeping people safe.
“This was a brutal attack and the consequences could have been much worse for the victim.
“I hope the positive action taken in this case shows that Nottinghamshire Police takes violent crime extremely seriously and will always strive to put offenders before the courts.”