custom query / search in ticket comments

17 views
Skip to first unread message

Steve Schmerler

unread,
Oct 28, 2011, 7:52:51 AM10/28/11
to trac-...@googlegroups.com
Hi

I started with Trac about 2 month ago, so far I'm very happy with it,
thanks.

I'd like to ask if it possible to custom-query ticket comments. I know I
can query Summary and Description, but not Comments, which I find to be
a pretty important use case. The normal search function searches there,
too but I think that the Custom Query machinery is much more useful and
would be even more so with this additional feature.

Since I didn't find something in the documentation, I'd like to
know if someone knows about a plugin which might do that. I didn't find
anything on trac-hacks.org so far.

I found [1] where the exact same question is asked. However, refers to
http://trac.edgewall.org/ticket/1329 which has a very different subject.

Thanks!

best,
Steve

[1] http://groups.google.com/group/trac-users/browse_thread/thread/b67b233237e6d8d1/dbe7e9a6760c44fe?lnk=gst&q=search+in+comments

Steve Schmerler

unread,
Nov 4, 2011, 6:22:43 AM11/4/11
to trac-...@googlegroups.com
On Oct 28 13:52 +0200, Steve Schmerler wrote:
> I'd like to ask if it possible to custom-query ticket comments. I know I
> can query Summary and Description, but not Comments, which I find to be
> a pretty important use case. The normal search function searches there,
> too but I think that the Custom Query machinery is much more useful and
> would be even more so with this additional feature.
>
> Since I didn't find something in the documentation, I'd like to
> know if someone knows about a plugin which might do that. I didn't find
> anything on trac-hacks.org so far.

In case anyone has the same question:

I found TracAdvancedSearchPlugin but I don't know if it searches
comments. Haven't gotten around to set up a search engine (solr), which
might be overkill anyway (if we can search in keywords, summary etc,
why not in comments). If I really need it, I'll try to write a plugin.

My use case is to custom-query all tickets which have been commented the
same way like "partly-fixed, wait-for-user-input" and modify them in the
same way. I can do the modify part nicely with the BatchModifyPlugin.
The workaround for the search part is to batch-modify the keywords
instead of the comments since keywords can be queried.

best,
Steve

Reply all
Reply to author
Forward
0 new messages