I can count on zero fingers the number of times I have ever wished I had this.
We do, however, keep daily work logs (each person submits them) so we have a log of everything that everyone worked on. We have Slack history, which is sometimes referred to.
I'm curious what folks find this useful for. What are the scenarios where one has to refer back to an issue from a commit?
By the way, I also have the experience of inheriting a code base where the commit messages were mostly (or just) issue numbers. Guess what I didn't inherit? The issue tracker. The commit messages were useless to me.