Attach a label to a shape (and position)

Further to my question about positioning labels near connections next to the target, how can I add a label (say) above a task shape?

You mean an external label for a task?