Hi there,
I’ve been trying to integrate RT and SVN, but had no success yet.
It seems the PullUpdate.html is not updating the ticket status upon
request.
I noticed that the piece of code inside the statement if ( $ticket &&
$ticket->id ) { … } (line 77) is never executed.
Please see below some of my settings.
SVN comment
RT-Ticket: rt#2
RT-Status: resolved
RT-Update: comment
This is a simple comment.
RT
rt-name: rt
rt-ticket: 2
rt-status: open
Has anybody faced the same problem ?
Any help will be appreciated.
Thanks,
Dário
I noticed that the piece of code inside the statement if ( $ticket &&
$ticket->id ) { … } (line 77) is never executed.
Please see below some of my settings.
SVN comment
RT-Ticket: rt#2
RT-Status: resolved
RT-Update: comment
It’s been a while since I looked at this, but, if I remember
correctly, the # format didn’t work. Did you try
just “RT-Ticket: 2”?
Michael
Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”
Hi Michael,
Thanks for your help. It did work when providing just the ticket number.
It seems like the regular expression (see code below) is not handling
# properly.
PullUpdate.html
54 if ( $line =~ /^\sRT-Ticket:\s(\w*?)(?:#?)(\d*)/ ) {
55 next if ($1 && $1 !~ /^$RT::rtname$/i);
Thanks,
DárioOn Tue, 2006-03-14 at 16:52 -0500, Michael S. Liebman wrote:
On Tue, Mar 14, 2006 at 06:02:11PM -0300, D?rio Lu?s Coneglian Oliveros wrote:
I noticed that the piece of code inside the statement if ( $ticket &&
$ticket->id ) { … } (line 77) is never executed.
Please see below some of my settings.
SVN comment
RT-Ticket: rt#2
RT-Status: resolved
RT-Update: comment
It’s been a while since I looked at this, but, if I remember
correctly, the # format didn’t work. Did you try
just “RT-Ticket: 2”?
Michael