I may be stating the obvious here but be careful with ash from other people as you don't know what they burnt! It could contain all sorts of heavy metals from old paint, so just use your ash from bonfires you control. I have never used it in compost heaps, but scatter it directly under fruit bushes with manure, and no ill effects seen, but lots of fruit!
Brian