I’ve improved the ‘search-bugs’ tool to consolidate bugs matching a pattern into a master bug report. This can be done by using a command like the following:
search-bugs --package odt2txt --tags apport-crash --consolidate
This will mark any odt2txt bug report with the tag apport-crash and matching the pattern in the odt2txt.xml file as a duplicate. It will also add a comment about the bug being a duplicate and set the bug’s status to Confirmed.
Ubuntu Bug Patterns are a phenomenal tool for preventing the reporting of duplicate bugs and now for consolidating duplicate bugs that are already reported! Learn more about them in the README.