automatically relate a revision qwith an incident and viceversa...
Added by sebastián scarano about 16 years ago
Is there some way to automatically relate a revision qwith an incident and viceversa
I mean, i can enter r123 on an ticket's description to link it to a svn revision, and I can enter #321 in a commit description to link it to the ticket 321...
But is there someway I can just enter #321 in the commit text of revision 123 and have the ticket updated, so that it links to the r123???
thanks a lot
saludos
sas
BTW, is there some place where this thing (I mean, entering #321 in the commit description) is documented... I found it out just because I saw that with trac you could do it...
Replies (1)
RE: automatically relate a revision qwith an incident and viceversa... - Added by Mischa The Evil about 16 years ago
sebastián scarano wrote:
But is there someway I can just enter #321 in the commit text of revision 123 and have the ticket updated, so that it links to the r123???
Do you mean after the commit in SCM is made and Redmine has fetched the updates already? In that case you can try to re-fetch them by running this script in your Redmine dir:
ruby script/runner "Repository.fetch_changesets" -e production
Though I'm not sure if this updates already existing commits in the Redmine DB.
sebastián scarano wrote:
BTW, is there some place where this thing (I mean, entering #321 in the commit description) is documented... I found it out just because I saw that with trac you could do it...
See here for a description of this functionality in Redmine.