Commit messages scanned for ticket action
This ticket ticket references #473
I want to add a functionality to Redmine. I want to be able to create ticket action depending on keyword with parameter in commit message.For instance :
- P commit some piece of code with a message with the keyword "Review S"
- Redmine creates a review ticket. This task has the id 123. The ticket is assigned to S.
- When S finish his review, we commit with something like : "Reviewed #123"
- Redmine close the ticket #123.
- Everyone is happy.
What is the best way to achieve this ? Create a plugin? Add a commit hook functionality in Redmine? I will be happy to help you.