The way we do this is generally in the upper right hand corner above 
login/helpguid/preferences, there is a search field.   Enter the keywords and 
click search   it will list the results in everything.  You can narrow it down 
some by

deselecting the checkboxes for changesets, Milestones, and wiki and search just 
on tickets.



Works pretty well most of the time, although it doesn't target the "comments" 
field specifically or a specific ticket directly.   But usually we can easily 
find the ticket that we were interested in.

________________________________
From: [email protected] [[email protected]] on behalf of 
Chris Shelton [[email protected]]
Sent: Wednesday, March 02, 2011 4:45 PM
To: [email protected]
Cc: Dan Gawarecki
Subject: Re: [Trac] TRAC: Want to search comments, but does not seem possible

Dan,

On Wed, Mar 2, 2011 at 2:55 PM, Dan Gawarecki 
<[email protected]<mailto:[email protected]>> wrote:
Greetings:
 I want to search the comments that have been added to a ticket, but this does 
not seem possible (at least not in 0.11 or 012).
By “not possible” I mean, when on “View Tickets” and I choose the Custom Query 
feature, there is no choice titled “Comments” (or even “Change History”) in the 
drop down list of fields (this list contains things like Component, Keywords, 
Milestone, Owner, Priority, Type, etc).

I found a list of columns that exist in the ticket table (see 
http://trac.edgewall.org/wiki/TracReports) and could see nothing related to 
comments.
I attempted to search the “description” field but results imply that only the 
description fields was searched, and comments were excluded (which is as it 
should be).  This topic doesn’t seem to have surfaced on the mailing list, 
other than a more highly refined “search for comments by date” question, nor do 
any plug-ins at http://trac-hacks.org/tags/ seem to address this.

Is searching comments, for a text or phrase, possible?  If not, would it be 
appropriate to enter this as an ‘enhancement’ ticket?


I believe that the simplest way is to use the built in search function 
available here:
http://trac.edgewall.org/search
or the top right search box available in the header of most pages.

After a few tests, this seems to return results for a full text search of both 
the ticket body and all followups to a ticket.

chris

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to