Reduce the jam. Heat it in a saucepan over medium heat, stirring, for 5 to 8 min until reduced to about 100 g (it should thickly coat a spoon). This is the key step: the water in the jam makes the buttercream split and softens the shells.
Blend or sieve the jam if it contains fruit pieces, so it doesn’t clog the piping bag.
Cool completely to room temperature. If the jam is still warm, the butter will melt.
Cream the butter. Beat it with a mixer for 3 to 4 min until pale and creamy.
Add the jam one spoonful at a time, beating after each addition. If the buttercream splits (looks curdled), keep beating or warm the bowl for 5 seconds with a hair dryer.
Chill for 20 to 30 min to firm up, then pipe with a plain nozzle.
Assemble and leave to mature in the fridge for 24 hours.