Searching tickets


#1

I’m sure I’m not the first person to notice that there’s no good
way to search (and, even better, merge) tickets based on a text
string or regular expression. But, I didn’t see anything in the
contrib directory that’d help. Any advice, or should we get
started rolling our own?

J.D. Falk "Laughter is the sound
Product Manager that knowledge makes when it’s born."
Mail Abuse Prevention System LLC – The Cluetrain Manifesto


#2

I’m sure I’m not the first person to notice that there’s no good
way to search (and, even better, merge) tickets based on a text
string or regular expression. But, I didn’t see anything in the
contrib directory that’d help. Any advice, or should we get
started rolling our own?

You can search the subject line (using % as a wildcard) but I haven’t seen
any way to search the body of the messages - they’re stored as seperate
files - would there be any major problems in storing the body in the
database?

gordon


#3

You can search the subject line (using % as a wildcard) but I haven’t seen
any way to search the body of the messages - they’re stored as seperate
files - would there be any major problems in storing the body in the
database?

They will be stored in the database in RT2.

If you have shell access and read permissions on the transaction files,
it’s actually easier to search on files than in the db, though:

find dir/to/transactions -type f | xargs grep mysearch

“The trouble with the world is that the stupid are
cocksure and the intelligent are full of doubt.”

  • Bertrand Russell