TRAC: Want to search comments, but does not seem possible

68 views
Skip to first unread message

Dan Gawarecki

unread,
Mar 2, 2011, 2:55:27 PM3/2/11
to trac-...@googlegroups.com

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?

 

+Dan Gawarecki+   (gav-a-ret-ski)                         
Datacard Group -- Software Test Team
If we cease to become better, we will one day cease to be good." T.Aquinas

NOTICE – This message and any attachment(s) are for authorized use by the intended recipient(s) only and may contain privileged or confidential information.  Unless you are an intended recipient, you may not use, copy, retain, or disclose to anyone any information contained in this message and any attachment(s).  If you are not an intended recipient of this message, please immediately contact the sender and delete this message and any attachment(s).

Chris Shelton

unread,
Mar 2, 2011, 4:45:11 PM3/2/11
to trac-...@googlegroups.com, Dan Gawarecki
Dan,


On Wed, Mar 2, 2011 at 2:55 PM, Dan Gawarecki <dan_ga...@datacard.com> 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

Marjory L. Mackes

unread,
Mar 3, 2011, 4:18:06 PM3/3/11
to trac-...@googlegroups.com, Dan Gawarecki

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: trac-...@googlegroups.com [trac-...@googlegroups.com] on behalf of Chris Shelton [cshe...@shelton-family.net]
Sent: Wednesday, March 02, 2011 4:45 PM
To: trac-...@googlegroups.com
Cc: Dan Gawarecki
Subject: Re: [Trac] TRAC: Want to search comments, but does not seem possible

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

Dan Gawarecki

unread,
Mar 4, 2011, 6:01:08 PM3/4/11
to Marjory L. Mackes, trac-...@googlegroups.com

Hello:

Thank you for the responses so far.

From my viewpoint, the “Search” function on the main project page is a work-around, and I have a hard time calling it an “acceptable” one at that.

The results it returns are not a nice looking list like is presented by the Custom Query feature, which additionally displays columns that I find useful.  Additionally, version 0.12 introduces a “Created” field in the Custom Query, by which one can narrow down the search scope, something obviously not available from the main page “Search” function.

 

So from my perspective, this seems like an enhancement request to be entered.

 

+Dan Gawarecki+

NOTICE – This message and any attachment(s) are for authorized use by the intended recipient(s) only and may contain privileged or confidential information.  Unless you are an intended recipient, you may not use, copy, retain, or disclose to anyone any information contained in this message and any attachment(s).  If you are not an intended recipient of this message, please immediately contact the sender and delete this message and any attachment(s).

Remy Blank

unread,
Mar 5, 2011, 3:17:03 AM3/5/11
to trac-...@googlegroups.com
Dan Gawarecki wrote:
> So from my perspective, this seems like an enhancement request to be
> entered.

http://trac.edgewall.org/ticket/1329

-- Remy

signature.asc
Reply all
Reply to author
Forward
0 new messages