<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hello,<BR>
 <BR>
I'm trying to set the RefersTo link to another ticket while creating it, but am not having any success.  <BR>
 <BR>
I have the following in Custom action cleanup code:<BR>
 <BR>
1;<BR>
my $AttachObj = $self->TransactionObj->Attachments->First;<BR># go out if content is not text!<BR>unless( $AttachObj->ContentType =~ /^text/ ) {<BR>
     return 1;<BR>}<BR>
my $content = $AttachObj->Content;<BR>
if( $content =~ m/^\RefersTo:\E\s*(\S+)\s*$/m ) {<BR>
      $self->TicketObj->RefersTo( $1 );<BR>}<BR>
 <BR>
if( $content =~ m/^\QSet-Status:\E\s*(\S+)\s*$/m ) {<BR>
      $self->TicketObj->SetStatus( $1 );<BR>}<BR>
 <BR>
I'm able to set the status but not the Refers to link.  Any help is appreciated.<BR>
<BR>Thanks,<BR>
Jared<BR><br /><hr />Download Messenger. Start an i’m conversation. Support a cause. <a href='http://im.live.com/messenger/im/home/?source=TAGWL_MAY07' target='_new'>Join Now!</a></body>
</html>