Updating an Issue with SCM comment via REST
I have a simple set up with an instance of Redmine for issue tracking and Gitea as my Git repository (it's like Github). I would like to update issues if I ever reference an issue in a git comment. My thinking is to use a git hook and the Redmine REST API to do this:
Should I just add a note (say with a link to the commit) or does Redmine provide a more appropriate "SCM" type reference I should use instead?