Opened 20 years ago
Last modified 11 months ago
#1069 new enhancement
query by example (e.g. when creating a new ticket, check for similar tickets)
Reported by: | Christian Boos | Owned by: | |
---|---|---|---|
Priority: | lowest | Milestone: | next-major-releases |
Component: | ticket system | Version: | 0.8 |
Severity: | normal | Keywords: | new ticket duplicate dedupe |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
There could be some ways to reduce the amount of duplicate tickets getting created. The simplest way would be to advertise doing a search:
E.g (any better english is welcome, of course):
Create New Ticket
Have you checked that the issue you want to report was not already raised before? If not, please Search for existing tickets describing your problem before creating a new one.
Your email or username: …
A more sophisticated way would be to do a search (in the tickets) based on the content of the Short summary field and the Keywords field, when the reporter Previews his new ticket. The result of the search would also appear on the ticket preview page. From that point, the reporter could choose either to go on with the creation of his new ticket (maybe clarifying what distinguishes it from other, similar tickets), or to contribute to existing similar tickets if some are found and relevant for him.
Attachments (1)
Change History (19)
comment:1 by , 20 years ago
Keywords: | dedupe added |
---|
comment:3 by , 19 years ago
Cc: | added |
---|
The feature would be nice but should be optional. I didn't like the feature when working with Scarab. In 80% of the case the found duplicates were absolutly unrelated to the entered ticket. Looks like the search algorithm needs a lot attention for such a feature.
by , 19 years ago
Attachment: | search_for_similar_tickets_r3013.diff added |
---|
Adds a Search Similar… button in the new ticket page, that redirects to an adequate custom query
comment:4 by , 19 years ago
Milestone: | → 0.10 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
What about using the newticket form as an alternative way to prepare a custom ticket query?
See attachment:search_for_similar_tickets_r3013.diff
The above patch also adds the possibility to search for the Description field in the query page.
comment:5 by , 19 years ago
The utility of this feature really hinges on your definition of "similar". I've done some work in document similarity analysis and I would love to see something like that in Trac. However, to have real utility, I think it would need to be built on a probablistic search engine, like Xapian. Roundup is using this search library, but I don't think it has a "find similar" function.
comment:6 by , 19 years ago
Milestone: | 0.10 → 0.11 |
---|---|
Owner: | changed from | to
Status: | assigned → new |
comment:7 by , 19 years ago
The similarity detection is now exposed as a plugin interface, so it can be extended. The default one is basic.
comment:8 by , 18 years ago
Cc: | removed |
---|
comment:9 by , 18 years ago
Owner: | changed from | to
---|
#2775 was a similar request for existing tickets. The patch could be easily adapted to allow for that. I'll look into making an updated version of the patch.
comment:10 by , 18 years ago
Instead of "Search Similar" which has the connotation of requiring advanced AI (as in alect proposal), this could be renamed e.g. "Build Query from Ticket"…
comment:11 by , 17 years ago
comment:12 by , 16 years ago
Milestone: | 0.11.2 → 2.0 |
---|---|
Summary: | When creating new tickets, provide a way to check for similar tickets → query by example (e.g. when creating a new ticket, check for similar tickets) |
This could be done as a plugin (similar to the clone ticket one + the _do_search
in attachment:search_for_similar_tickets_r3013.diff).
comment:15 by , 14 years ago
Milestone: | triaging → next-major-0.1X |
---|---|
Priority: | normal → lowest |
comment:16 by , 9 years ago
Owner: | removed |
---|
comment:17 by , 9 years ago
Reporter: | changed from | to
---|
comment:18 by , 3 years ago
A plugin that supports the original request is provided in DuplicateTicketSearchPlugin. This plugin searches within the summary field only.
Another plugin that may be helpful, depending on local processes, is TracDupPlugin.
I agree, automatically searching for dupes would be cool.