[rt-commit] [svn] r517 - in rt/branches/rt-3.1: bin
html/REST/1.0/ticket
jesse at fsck.com
jesse at fsck.com
Tue Mar 9 17:19:03 EST 2004
Author: jesse
Date: Tue Mar 9 17:19:03 2004
New Revision: 517
Modified:
rt/branches/rt-3.1/bin/rt.in
rt/branches/rt-3.1/html/REST/1.0/ticket/comment
Log:
Let the user set status in comment or correspondence
Modified: rt/branches/rt-3.1/bin/rt.in
==============================================================================
--- rt/branches/rt-3.1/bin/rt.in (original)
+++ rt/branches/rt-3.1/bin/rt.in Tue Mar 9 17:19:03 2004
@@ -554,6 +554,7 @@
Attachment => [ @files ],
TimeWorked => $wtime || '',
Text => $msg || '',
+ Status => ''
}
];
Modified: rt/branches/rt-3.1/html/REST/1.0/ticket/comment
==============================================================================
--- rt/branches/rt-3.1/html/REST/1.0/ticket/comment (original)
+++ rt/branches/rt-3.1/html/REST/1.0/ticket/comment Tue Mar 9 17:19:03 2004
@@ -141,6 +141,10 @@
BccMessageTo => $bcc,
TimeTaken => $k->{TimeWorked} || 0);
$output = $s;
+if ($k->{Status}) {
+ my ($status_n, $status_s) = $ticket->SetStatus($k->{'Status'} );
+ $output .= $status_s;
+}
OUTPUT:
</%INIT>
More information about the Rt-commit
mailing list