Project

General

Profile

Commit comment doesn't close the issue

Added by Guillaume Lecanu about 15 years ago

Hi,

We currently switching to Redmine (7.4), but we have a problem with the feature to update an issue dependant of the content of the commit comment.

If we try to commit something like that "IssueID #13 fixed" this doesn't update the status of the issue #13, and of course don't send any emails notifications.

We have Redmine 7.4 (we have problems to install 8.0 on our server) and SubVersion is 1.5.1 version.

I have try different keywords, but this doesn't help.

Thanks for your help!


Replies (4)

RE: Commit comment doesn't close the issue - Added by Mischa The Evil about 15 years ago

Guillaume Lecanu wrote:

If we try to commit something like that "IssueID #13 fixed" this doesn't update the status of the issue #13, and of course don't send any emails notifications.

I have try different keywords, but this doesn't help.

The "issue-referencing from commit-message"-feature requires specific, detailed syntax in the commit-message.
See RedmineSettings for a full disclosure....

Basically you can set a status (like fixed or resolved) which Redmine will apply (together with an optional and configurable change of the -done) when the configured keywords for fixing/closing issues (in contrast to only referencing the issue without the ability of changing the status/-done) are found in the commit-message1.

HTH...

1 you could make it even more complicated by using '*' as a referencing keyword, see RedmineSettings... ;)

RE: Commit comment doesn't close the issue - Added by Guillaume Lecanu about 15 years ago

Thanks for your help Mischa !

I understood better, the references field & the closes field are 2 distincts things.

So, I have commited like that "closes #13" and this works.

Thanks again.

RE: Commit comment doesn't close the issue - Added by Dmitry Pashkevich over 11 years ago

I have 3 svn repositories linked to my project and the issues aren't closed by commit comments until I navigate to the repository in Redmine. This is very annoying...

Environment:
Redmine version 2.0.3.stable.9893
Ruby version 1.8.7 (i686-linux)
Rails version 3.2.6
Environment production
Database adapter MySQL
Redmine plugins:
due_date_reminder 0.3.1
redmine_wiki_extensions 0.5.0

    (1-4/4)