CurrentUser in ticket query language?

I’ve been writing a few shell aliases for the RT CLI, and i was
wondering if the query language has a way to represent the currently
authenticated user.

I’m at a site that uses an apache module for authentication, and this
module munges the username (by appending the domain). When using the
CLI, this means that RTUSER=‘muncus’ does not produce the desired result
when searching for tickets where “Owner=$RTUSER”. However, specifying
the domain causes authentication to fail.

The right thing to do is probably allow the apache module to deal with
both types of username, but if RT had a way of referencing the current
user, i could see it being useful in other situations as well.


Marc “Muncus” Dougherty
Packet Ninja
Northeastern University
College of Computer and Information Science