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).
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?
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.
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).
http://trac.edgewall.org/ticket/1329
-- Remy