[rt-users] closing tickets via email

CJ Kucera rt at apocalyptech.com
Thu Jul 15 09:28:41 EDT 2004


Joseph Spenner wrote:
> I use RT 2.0.15 and would like to have the ability to
> close a ticket via email.  So, if the body of the

I set up ours so that it's controllable via headers:
RTC-Set-Owner: whoever
RTC-Set-Status: resolved

You use scrips to do it.  Set one to "On Correspond" and then:

Action preparation:

1;

Action cleanup:

my $header = 'RTC-Set-Owner';
if ($self->TransactionObj->Attachments->First->GetHeader($header) ne '')
{
	$self->TicketObj->SetOwner($self->TransactionObj->Attachments->First->GetHeader($header));
}
$header = 'RTC-Set-Status';
if ($self->TransactionObj->Attachments->First->GetHeader($header) ne '')
{
	$self->TicketObj->SetStatus($self->TransactionObj->Attachments->First->GetHeader($header));
}
1;

etc...  There's probably a cleaner way to do it, but there you go.

-CJ

-- 
WOW: Kakistocracy        |  "The ships hung in the sky in much the same
apocalyptech.com/wow     |    way that bricks don't." - Douglas Adams,
rt at apocalyptech.com      |     _The Hitchhiker's Guide To The Galaxy_



More information about the rt-users mailing list