The information you're wanting to add to the comment is already present within the issue history and also available via JQL searching. Here is an article that was written by a Community Leader which covers how to find issues with status changes and additional items around history: Becoming a JIRA Search Ninja - History searches in JIRA.
Pre-receive hooks that verify the Git commit message, the modified files, and implement similar code change controls used to be requirements of large enterprises working in regulated industries only....
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events