Add custom field to csv export

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
sheel331
Posts: 20
Joined: 14 Apr 2008, 20:39

Add custom field to csv export

Post 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
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Add custom field to csv export

Post 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
Please use Search before posting and read the Manual
RcCluster
Posts: 20
Joined: 02 Jan 2011, 22:47

Re: Add custom field to csv export

Post by RcCluster »

Thanks. This helped me.

Problem solved ;)

lg
RcCluster
Post Reply