[rt-users] Using UpdateStatus in a Search?
falcone at bestpractical.com
Thu Mar 27 15:04:21 EDT 2014
On Wed, Mar 26, 2014 at 02:25:49PM -0400, Garrett Michael Hayes (VI) wrote:
> I am using the "UpdateStatus" value in the output of my "50 Highest Priority Tickets" search
> to show which tickets have received new emails from users (or updates from other support
> reps). I would like to be able to use that value as a search criterion, to create a search
> that shows me ONLY tickets that have such updates. However, I haven't been able to find a
> syntax that seems to work. I've tried a few possibilities using the advanced editor for the
> search, but it doesn't seem to be a recognized field for criteria searches.
Unfortunately, while there's a piece of syntax calls HasAttribute
which would let you say "Find my tickets where this attribute about
update status exists" you actually want to find tickets where the
attribute exists and the ticket has transactions newer than the stored
value. That would require code like that found in
RT::Ticket::SeenUpTo and a custom portlet.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 235 bytes
Desc: not available
More information about the rt-users