Leanne Milroy knifed Dee Gibson after the 30-year-old victim was said to have made a comment about her partner. Miss Gibson told a jury at the High Court in Glasgow that she thought she was going to die after choking on her own blood.
A judge told Milroy that her sentence would be more lenient than normal after hearing that she had developed Post Traumatic Stress Disorder after being robbed at gun point.
The 29-year-old's lawyer said she had been traumatised by that raid and the attack on Miss Gibson, in Milroy's home in Johnstone, Renfrewshire, on July 12 last year, was extraordinay, given her previous good character. She was earlier convicted of assaulting Miss Gibson to the danger of her life.
Solicitor advocate Bob Mitchell yesterday said: "She was the victim of a robbery at a public house - she was robbed at gun point.
"One man was sentenced to prison and she had to give evidence in this court. This incident had a significant impact on her mental health and she was found to be suffering from Post Traumatic Stress Disorder.
"Frankly by July 12 last year, this young lady's ability to cope was impaired."
Mr Mitchell said her mental health explained her actions, but did not "excuse" what she did.
Judge Alastair Stewart QC told Milroy that, because of mitigating factors, the jail sentence would be more "lenient" than would normally be the case.