Associate revision to issue in issue update?
Is it possible to associate a SCM revision with an Issue from the issue rather than from the commit comments?
I found this link - http://www.redmine.org/issues/show/383 which would indicate that it's not possible currently to edit this association through any other mechanism that the repository comments.
I realise it's possible to enter a revision link (but not an association) on an issue, but my concern is our developers may make a mistake or forget to include the issue # reference when making their commit, and then aren't able to enter the association.
Does anyone else see this as a useful feature?
With SVN and CVS (and probably git etc.) you can write a pre-commit hook that can check for the proper issue reference, and spit out an error if it doesn't exist. That way your developers are forced to supply an issue for every commit.
Thanks that's a great idea!
RE: Associate revision to issue in issue update? - Added by Anonymous over 14 years ago
We use a pre-commit hook script to do this, and are thinking of taking it one step further by querying the redmine database to ensure that bug is actually assigned to the person doing the commit also (and therefore not 'new' or 'closed').