Peel the potatoes and cut into pieces of approximately equal size. Boil them in salted water until tender. Drain and leave in the colander for a few moments to dry.
Push the potatoes through a sieve, then add the olives, olive oil, egg yolk, parsley and some salt and pepper. Stir together gently.
Compress the mixture into golfball-sized balls, then flatten them slightly into ham