Page 1 of 1

Add custom field to csv export

Posted: 27 Apr 2010, 19:26
by sheel331
Hello there,

I am currently on Bugbase version 1.1.1, and I have created a new custom field called "Vendor Reference #". Is there a way to add this field into the CSV Export report? I have found the line of code that would be modified:

$g_csv_columns = array ( 'id', 'project_id', 'reporter_id', 'handler_id', 'priority', 'severity', 'reproducibility', 'version', 'projection', 'category', 'date_submitted', 'eta', 'os', 'os_build', 'platform', 'view_state', 'last_updated', 'summary', 'status', 'resolution', 'fixed_in_version', 'duplicate_id' );

I'm not really sure how to add the field to this line.

Any help would be appreciated.

Thanks,
Sheel

Re: Add custom field to csv export

Posted: 27 Apr 2010, 20:05
by atrol
Try the same way I explained at the following link for viewing issues
Replace "view_issues_page_columns" by "csv_columns"

http://www.atrol.de/mantisbt/Customview.wmv

This should work project and/or user specific
Maybe you have to update to 1.1.8 to get it work

Re: Add custom field to csv export

Posted: 17 Apr 2011, 05:38
by RcCluster
Thanks. This helped me.

Problem solved ;)

lg
RcCluster