<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">In case anyone's interested I figured out how to do this<div><br></div><div>in share/html/Elements/ShowSearch you have:</div><div><br></div><div><div>$SearchArg->{'Query'} =~ s/__CurrentUser__/$session{'CurrentUser'}->Id/ge;</div><div><br></div><div>I've added a line for CurrentUserEmail so now I have:</div></div><div><br></div><div><div>$SearchArg->{'Query'} =~ s/__CurrentUser__/$session{'CurrentUser'}->Id/ge;</div><div>$SearchArg->{'Query'} =~ s/__CurrentUserEmail__/$session{'CurrentUser'}->EmailAddress/ge;</div><div><br></div><div>You can then use the following in searches that you add to the At A Glance screen:</div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 11px; white-space: pre-wrap; ">Requestor.EmailAddress = '__CurrentUserEmail__'</span></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 11px; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 11px; white-space: pre-wrap;">Cheers,</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 11px; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 11px; white-space: pre-wrap;">Justin</span></font></div><div><br></div><div><div>On 7 Jan 2009, at 09:43, Justin Hayes wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi,</div><div><br></div><div>I would like to be able to create saved searches that will find tickets where the logged in user is the Requestor.</div><div><br></div><div>This is easy for Owner as you can use<span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 11px; white-space: pre-wrap; ">Owner = '__CurrentUser__'.</span></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 11px; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 11px; white-space: pre-wrap;">Is there a way to do this for Requestor though? I tried<span class="Apple-tab-span" style="white-space:pre"> </span>Requestor = '__CurrentUser__'<span class="Apple-tab-span" style="white-space:pre"> </span>but that doesn't work.</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 11px; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 11px; white-space: pre-wrap;">I found this on the wiki, but that only seems to apply to RT2:</span></font></div><div><br></div><a href="http://wiki.bestpractical.com/view/CurrentUserEmail">http://wiki.bestpractical.com/view/CurrentUserEmail</a><div><br></div><div>Any help much appreciated!!</div><div><br></div><div>Justin</div></div>_______________________________________________<br><a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br><br>Community help: http://wiki.bestpractical.com<br>Commercial support: sales@bestpractical.com<br><br><br>Discover RT's hidden secrets with RT Essentials from O'Reilly Media. <br>Buy a copy at http://rtbook.bestpractical.com</blockquote></div><br></div></body></html>