X : Did you come to Jane's party

Y : I wish I had gone there. I had a terrible headache.
From the dialogue we may conclude that the second speaker ... to Jane's party.
Answer :
didn't come

The sentence uses subjunctive wish. wish + past participle means contrary to the reality of the past