Simple question with targeting mob with two names

/cast [target=“Life Spark”]Shadow Bolt

isn’t working.

Can I do it that way or do I need to do a targetlasttarget thing?

This in classic

Sorry I literally tried to google this for 30 minutes and I don’t konw why it kept giving me wrong answers

@name only works for players in your goup, and their derivative targets.

#showtooltip 
/tar Life Spark
/cast Shadow Bolt
/targetlasttarget

Though personally I’d just use a mouseover macro.