Shared Search for Tickets Resolved by "me"

I would like to create a Shared Search on RT 3.4.4 which queries for
tickets that “I” resolved during the last month. The problem is I
can’t figure out how to tell the search engine to query for "me"
based on who is currently logged into the web interface. I’m very new
to using RT, so I probably have simply overlooked something simple.

I currently have the following as my Saved Search, which works fine
for myself…

Owner = 'swaltner’
AND Status = 'resolved’
AND Resolved < 'Today’
AND Resolved > ‘-35 Days’

The problem comes when I save this into the shared searches with our
other group members. jdoe doesn’t want to search for tickets that
swaltner owned, they are interested in tickets that are owned by
jdoe. Granted each user can load the shared search, update it with
their name, and save it into their personal saved searches, but that
isn’t convenient and doesn’t make sure that everyone is using the
same queries.

Hopefully there is a keyword like “myself” (similar to “today” for
the date searches) that would help here. I’ve looked through the
mailing list archives and on the Wiki, but don’t seem to find
anything useful there. Any assistance would be greatly appreciated.

Steve

Try: Owner = ‘CurrentUser

I think that only works in 3.6 though.

-ToddOn Wed, May 24, 2006 at 09:47:37AM -0500, Steve Waltner wrote:

I would like to create a Shared Search on RT 3.4.4 which queries for
tickets that “I” resolved during the last month. The problem is I
can’t figure out how to tell the search engine to query for “me”
based on who is currently logged into the web interface. I’m very new
to using RT, so I probably have simply overlooked something simple.

I currently have the following as my Saved Search, which works fine
for myself…

Owner = ‘swaltner’
AND Status = ‘resolved’
AND Resolved < ‘Today’
AND Resolved > ‘-35 Days’

The problem comes when I save this into the shared searches with our
other group members. jdoe doesn’t want to search for tickets that
swaltner owned, they are interested in tickets that are owned by
jdoe. Granted each user can load the shared search, update it with
their name, and save it into their personal saved searches, but that
isn’t convenient and doesn’t make sure that everyone is using the
same queries.

Hopefully there is a keyword like “myself” (similar to “today” for
the date searches) that would help here. I’ve looked through the
mailing list archives and on the Wiki, but don’t seem to find
anything useful there. Any assistance would be greatly appreciated.

Steve


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical:
Careers — Best Practical Solutions

Todd,

Thanks for the suggestion. As you suspected, this appears to be a
feature that is being added in 3.6. This returned no results for me,
when Owner = ‘swaltner’ returned 19 tickets.

We’ll keep an eye out for the release of 3.6.0 and upgrade to that
when it gets released.

SteveOn May 24, 2006, at 10:26 AM, Todd Chapman wrote:

Try: Owner = ‘CurrentUser

I think that only works in 3.6 though.

-Todd

On Wed, May 24, 2006 at 09:47:37AM -0500, Steve Waltner wrote:

I would like to create a Shared Search on RT 3.4.4 which queries for
tickets that “I” resolved during the last month. The problem is I
can’t figure out how to tell the search engine to query for “me”
based on who is currently logged into the web interface. I’m very new
to using RT, so I probably have simply overlooked something simple.

I currently have the following as my Saved Search, which works fine
for myself…

Owner = ‘swaltner’
AND Status = ‘resolved’
AND Resolved < ‘Today’
AND Resolved > ‘-35 Days’

The problem comes when I save this into the shared searches with our
other group members. jdoe doesn’t want to search for tickets that
swaltner owned, they are interested in tickets that are owned by
jdoe. Granted each user can load the shared search, update it with
their name, and save it into their personal saved searches, but that
isn’t convenient and doesn’t make sure that everyone is using the
same queries.

Hopefully there is a keyword like “myself” (similar to “today” for
the date searches) that would help here. I’ve looked through the
mailing list archives and on the Wiki, but don’t seem to find
anything useful there. Any assistance would be greatly appreciated.

Steve


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical:
Careers — Best Practical Solutions

Steve Waltner wrote:

I would like to create a Shared Search on RT 3.4.4 which queries for
tickets that “I” resolved during the last month. The problem is I
can’t figure out how to tell the search engine to query for “me” based
on who is currently logged into the web interface. I’m very new to
using RT, so I probably have simply overlooked something simple.

I currently have the following as my Saved Search, which works fine
for myself…

Owner = ‘swaltner’
AND Status = ‘resolved’
AND Resolved < ‘Today’
AND Resolved > ‘-35 Days’

The problem comes when I save this into the shared searches with our
other group members. jdoe doesn’t want to search for tickets that
swaltner owned, they are interested in tickets that are owned by jdoe.
Granted each user can load the shared search, update it with their
name, and save it into their personal saved searches, but that isn’t
convenient and doesn’t make sure that everyone is using the same queries.

Hopefully there is a keyword like “myself” (similar to “today” for the
date searches) that would help here. I’ve looked through the mailing
list archives and on the Wiki, but don’t seem to find anything useful
there. Any assistance would be greatly appreciated.

Steve


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly
Media.Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical:
Careers — Best Practical Solutions

Steve,

Don't think so. I think RT was designed to give flexibility but the 

cost is a little work like saving a query with a different search name
to make it specific. You might be able to create a scrip that has a
variable the searcher fills in and then runs but, that takes work and RT
won’t do it for you outright. Gotta spend some to get some.

Kenn