Creating Group Saved Searches with dynamic RT variable references?

I’m using Stephen Turner’s “Saved Searches” Mason component on the “Home” page:
(Request Tracker Wiki)

and wanted to construct some Group-wide saved searches for shortcut queries.
However, for a query by owner, the Query-Builder form only allows static comparisons
(i.e. selecting “Owner” is “sdowdy” results in " Owner = ‘xx’ " where ‘xx’ is the
numeric ‘Id’ of my user.

I tried using the Advanced builder and typing:

Owner = $session{‘CurrentUser’}->Id
but it stripped that to “Owner = ‘CurrentUser’”

How would i go about building a Group saved search query that dynamically references the CurrentUser?
(or any variable reference for that matter)

thanks,
–stephen
Stephen Dowdy - Systems Administrator - NCAR/RAP
303.497.2869 - sdowdy@ucar.edu - http://www.rap.ucar.edu/~sdowdy/

I’m using Stephen Turner’s “Saved Searches” Mason component on the “Home” page:
(Request Tracker Wiki)

and wanted to construct some Group-wide saved searches for shortcut queries.
However, for a query by owner, the Query-Builder form only allows static comparisons
(i.e. selecting “Owner” is “sdowdy” results in " Owner = ‘xx’ " where ‘xx’ is the
numeric ‘Id’ of my user.

I tried using the Advanced builder and typing:

Owner = $session{‘CurrentUser’}->Id
but it stripped that to “Owner = ‘CurrentUser’”

How would i go about building a Group saved search query that dynamically references the CurrentUser?
(or any variable reference for that matter)

I didn’t delve too deeply, but where it looks like it’s shoveling the
query contents into the ‘apply_escapes’ mason method, it doesn’t look
very promising.

However, if it’s a consistent query, create another box modeled after
Elements/MyRequests and add it to the index.html page.

Andy Harrison