No, they don't go to it because its near. It does not draw them in.
If you send in a golem into a base he will target the nearest defence. If there is two defences one xbow behind a wall and one cannon a bit further away but not behind a wall, the golem with go for the cannon. This can be used to lead golems around a base and not getting to core.
A key thing then is to use wallbreakers to open up a path so that the golems will instead target the xbow and core. If the cannon is too far away, the golem will start hitting the wall with the xbow behind either way.
The old jump spell only helped the golem get through the wall without breaking it, if targeting it. So only worked if cannon was too far away anyway otherwise golem would ignore jump spell and still walk around.
New jump spell however, makes golem think there is no wall there at all. That way it will go for xbow as long as that is closer than cannon. golem doesnt have to be in the jump spell for that, the area that the jump spell affect appears to not have any walls to the golem. That way troops are more likely to go in the jump spell and use it, but they aren't actually targeting the jump spell, only if something in that area is easier to get to due to no wall.
Hope that clarifies it..

