I had to do this fiddly job recently-- not easy but worth persevering. Once you have the spring pin correctly positioned, see if you can refit one of the old cotter pins, entering from spring side and gently tapping home. When you can see enough thread protruding, drift it out and fit a new one. This presumes you haven't thrown the old ones away!
Good luck.