Monday, January 18, 2010


We wanted to add bug categories to Bugzilla, but there is no such default field. However there is a field that you can turn on called whiteboard (parameters > bug fields > usestatuswhiteboard). This is a text field and you can add whatever tag or category you want in this field. The field appears right below summary field on a bug description page.

To make it appear on the search results is a little bit more involved. The field is stored in a database table as status_whiteboard. So all you need to do is add this field in Constants.pm file (under Bugzilla/). In Constants.pm modify this field : "DEFAULT_COLUMN_LIST".

My DEFAULT_COLUMN_LIST looks like this :

# The default list of columns for buglist.cgi
use constant DEFAULT_COLUMN_LIST => (
"bug_severity", "priority", "status_whiteboard","assigned_to",
"bug_status", "resolution", "short_short_desc"
);

Posted by Posted by WL at 8:51 AM
Categories:

 

0 comments:

 
>