Go to the commit (not the issue) and add a comment referencing the issue by number (#xxx), and the issue will now show the usual link to the commit.
In the commit comment: