Is it possible to make redmine intercept the commit messages and act, like on assembla, if I commit and write fix #12 than issue 12 status changes to fix. Any plugin for this behavior?
Asked
Active
Viewed 5,763 times
3 Answers
2
as @afarazit said, plus you probably want the issues to update live in Redmine without needing to manually enter in the Repository tab to force the refresh.
That can be done by using this server-side post-receive hook:
#!/bin/bash
_apikey=YOUR_API_KEY
_projectid=YOUR_PROJECT_ID
curl -k "http://REDMINE_SERVER_URL/sys/fetch_changesets?key=$_apikey&i
d=$_projectid"&

kraymer
- 3,254
- 1
- 24
- 32
-
This doesn’t work as intended and gives a signal 13 error, but simply adding `while read oldrev newrev refname do … done` around the `curl` command fixes it. – Rafael Bugajewski Mar 06 '14 at 21:01
1
Redmine has this functionality by default. You can use refs, references, IssueID for references and fixes, closes for fixing issues. You can also add your own keywords to be parsed from redmine and do stuff to your issues.
You can find more info on documentation

afarazit
- 4,907
- 2
- 27
- 51