We’ve been using BugZilla for a while now and one thing that had me irritated is the ability to filter the list of bugs that I’ve searched for. My options were to re-run the search with the parameters that I wanted to have filtered, or export the entire search into a CSV file and process it into a spreadsheet application like Excel.
There had to be a better way. Downloaded Greasemonkey and got to work with jQuery. Hacking away at the pages in BugZilla for a couple of hours and I was done.
This script allows you to filter the bugs from the list of displayed bugs. Filtering works on all columns visible in the list.
To user the script, you need to setup the include (@include) URL to point to your bugzilla installation root, e.g., http://bugzilla.server.com.or.ip/*
The script currently works on any URL that has string “bugzilla” in the setup. The @include URL in the source points to http://*bugzilla.*. If you don’t have this string in the URL, modify the @include URL in the script.
After installing, open up BugZilla and list bug in your browser. Click on any column (the actual value in the table and not the header) to filter. Click on the column value again to un-filter.
Download & Install
Download the script here. If you have already installed the Greasemonkey FireFox Add-On, the Install Script dialog should come up when you click the link.
Features
- Filters on any visible coloumn.
- Removes filter on clicking of the filtered column.
- Filter multiple columns.
- Filtering/Restoring works independently for all columns.
- Updates the bug count after filtering.
- Highlights the filtered columns so that you don’t loose track of what has been filtered.
Revision History
Version 0.3
- Changed the @include url to http://*bugzilla.* which will make it work any bugzilla setup that has “bugzilla” in the host part.
I have tested the script with FireFox 3.6.x, 4 and BugZilla 3.4.5