X-Git-Url: https://snippets.scripts.mit.edu/gitweb.cgi/Scripts/git/.git/blobdiff_plain/e6068ca09fae2ccc078d893aef3970c74f270b79..efbc574255759e74aa39d82e6dead82e8f0b52ce:/rt/zephyr-scrip.pl diff --git a/rt/zephyr-scrip.pl b/rt/zephyr-scrip.pl index 5f84e5f..15f797b 100644 --- a/rt/zephyr-scrip.pl +++ b/rt/zephyr-scrip.pl @@ -45,9 +45,9 @@ local $SIG{__DIE__} = sub { send_notice "${instance_prefix}error", "Internal error in Zephyr scrip:\n$err"; }; -(my $id = $self->TicketObj->id) =~ s/@/@@/g; +(my $id = $self->TransactionObj->Ticket) =~ s/@/@@/g; (my $description = $self->TransactionObj->Description) =~ s/@/@@/g; -(my $subject = $self->TicketObj->Subject) =~ s/@/@@/g; +(my $subject = $self->TransactionObj->TicketObj->Subject) =~ s/@/@@/g; send_notice "$instance_prefix$id", $description, $subject; 1;