Project

General

Profile

Updating an Issue with SCM comment via REST

Added by Shak Shak over 4 years ago

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:

https://www.redmine.org/projects/redmine/wiki/Rest_Issues#Updating-an-issue

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?