This creates precisely the kind of commit messages that I regularly scold junior developers for :)" In my opinion, commit messages should clarify the intent of WHY you changed things. I can already see WHAT you changed from the diffs. But of course, any tool can only work with the what, they cannot know that these lines are related to a bug report filed in a technically unrelated system.
If the why isn't obvious and there's no link to a tracking system that explains it, it's fine if it's in the message body.
I do want the why in comments, though.