[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-users
Subject:    Re: [rt-users] e-mail history of a ticket?
From:       Jesse Vincent <jesse () bestpractical ! com>
Date:       2002-09-27 21:49:46
[Download RAW message or body]

This is what I use to get it in the AdminCorrespondence template:


============================FULL TICKET HISTORY============================

{my $transactions = $Ticket->Transactions;
while (my $trans = $transactions->Next) {
	$OUT .= $trans->CreatedObj->AsString . ": " .
			$trans->Description;
	if ($trans->TimeTaken) {
		$OUT .=	" (".$trans->TimeTaken." min)";
	}
	$OUT .= "\n";
	if ($trans->Content) {
		$OUT .= $trans->Content . "\n";
	}
	$OUT .= ('-'x78)."\n";
}

1;
}


On Fri, Sep 27, 2002 at 05:16:50PM -0400, Sheeri Kritzer wrote:
> Hey all,
> 
> Call me crazy, but I could have sworn I saw list traffic about how to e-mail the \
> history of ticket (either through the Scrip condition OnOwnerChange or just having \
> a button or something to do that).  The only thing I can find in the archives, \
> however, is someone asking how to do it.   
> (It could be that I've been asked so many times to provide an "e-mail history" \
> button that I thought I saw list traffic on it). 
> Am I nuts?  If so, has someone worked through this?
> 
> If I'm not nuts, can someone point out a link?  My entire office is crispy today, \
> so maybe it's just in the air. 
> -Sheeri Kritzer
> Systems Administrator
> University Systems Group
> Tufts University
> 617-627-3925
> sheeri.kritzer@tufts.edu
> 
> 
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users@lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

-- 
»|« http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.
_______________________________________________
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic