<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I am trying to setup my autoreply so that it has a direct link for the requestor to click and he can be logged straight into the RT.<div>I am new to the eco system and have been playing around with it over the past few days.</div><div>Ive hit a roadblock and am hoping someone can help me out.</div><div><br></div><div>I have inserted the following into the autoreply template</div><div><br></div><div><div>{$RT::WebURL}SelfService/Display.html?id={$Ticket->id()}&user={$Transaction->CreatorObj->Name}&pass={$Transaction->CreatorObj->__Value('Password')}</div></div><div><br></div><div><br></div><div>It almost works perfectly except for the fact that the password actually goes out encrypted and is pretty useless.</div><div><br></div><div>this is the link that the requestor gets back</div><div><br></div><div><br></div><div><a href="http://rt.mydoman.com/ticket/SelfService/Display.html?id=138&user=requestor@email.com&pass=091128365216c001205810ed3po175fb">http://rt.mydomain.com.au/ticket/SelfService/Display.html?id=138&user=requestor@email.com&pass=091128365216c001205810ed3po175fb</a></div><div><br></div><div><br></div><div><br></div><div>Below is my entire template.</div><div><br></div><div><br></div><div>Can someone please let me know how I am able to send a clickable link with every autoreply that will take the requestor straight to the ticket on the web.</div><div><br></div><div><div>Subject: AutoReply: {$Ticket->Subject}</div><div><br></div><div><br></div><div>Greetings,</div><div><br></div><div>This message has been automatically generated in response to the</div><div>creation of a helpdesk call:</div><div><br></div><div> "{$Ticket->Subject()}",</div><div><br></div><div>a summary of which appears below.</div><div><br></div><div>There is no need to reply to this message right now. Your ticket has been</div><div> assigned an ID of [{$rtname} #{$Ticket->id()}]. Please include this string</div><div>in the subject line of all future correspondence about this issue. </div><div><br></div><div>{</div><div>*RT::User::GenerateRandomNextChar = \&RT::User::_GenerateRandomNextChar;</div><div><br></div><div><br></div><div>if (($Transaction->CreatorObj->id != $RT::Nobody->id) &&</div><div> (!$Transaction->CreatorObj->Privileged) &&</div><div> ($Transaction->CreatorObj->__Value('Password') eq '*NO-PASSWORD*')</div><div> ) {</div><div><br></div><div><br></div><div><br></div><div> my $user = RT::User->new($RT::SystemUser);</div><div> $user->Load($Transaction->CreatorObj->Id);</div><div> my ($stat, $pass) = $user->SetRandomPassword();</div><div><br></div><div><br></div><div><br></div><div> if (!$stat) {</div><div> $OUT .=</div><div><br></div><div>"An internal error has occurred. RT was not able to set a password for you.</div><div>Please contact your local RT administrator for assistance.";</div><div><br></div><div><br></div><div> }</div><div><br></div><div><br></div><div>$OUT .= "</div><div>You can check the current status and history of your requests at:</div><div><br></div><div><br></div><div> ".$RT::WebURL."</div><div><br></div><div><br></div><div>When prompted, enter the following username and password:</div><div><br></div><div><br></div><div> Username: ".$user->Name."</div><div> Password: ".$pass."</div><div><br></div><div>";</div><div>}</div><div>}</div><div>{$RT::WebURL}SelfService/Display.html?id={$Ticket->id()}&user={$Transaction->CreatorObj->Name}&pass={$Transaction->CreatorObj->__Value('Password')}</div><div><br></div><div> Thank you.</div><div> {$Ticket->QueueObj->CorrespondAddress()}</div><div><br></div><div><br></div><div>-------------------------------------------------------------------------</div><div>{$Transaction->Content()}</div></div></body></html>