This will happen post-migration I imagine once we have better links for tasks and comments & so forth.
Maybe someone could write a bot for the obvious bug-linking cases and that'd make cleanup afterwords of more specialized links easier to look for and do by hand.