how to modify bug export ??

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
PHPycho
Posts: 13
Joined: 16 Mar 2007, 10:31

how to modify bug export ??

Post by PHPycho »

Hello forums !!
I am back with some new questions.
I would like to modify the bug export, by adding some fields and ommitting some fields..
Can anybody tell me how to perform that ?

I would be very greatful for your warm response..
Thanks in advance to all of you
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

See my response to the following thread:
http://www.mantisbt.org/forums/viewtopic.php?t=2909
Migrate your MantisBT to the MantisHub Cloud
PHPycho
Posts: 13
Joined: 16 Mar 2007, 10:31

Post by PHPycho »

Thanks for the response
I will have a peer look in it..
One thing i want to mention is that..
I had to add three new fields which are not in the database , and i had to add those three fields in the csv export...
Any hints or suggestion for that..
thanks in advance
Last edited by PHPycho on 22 Apr 2007, 06:03, edited 1 time in total.
PHPycho
Posts: 13
Joined: 16 Mar 2007, 10:31

Post by PHPycho »

Thanks for the reply...
I had successfully ommitted the unwanted field just by commenting the field names in custom_function_api.php under the function
custom_function_default_get_columns_to_view().
Now I want to add some new fields Like
description,steps_to_reproduce,additional_information (fields of mantis_bug_text_table) and some new fields(which doesnt exists in db) like test1 and test2 (to be added in mantis_bug_table).

whenever i add new fields under the custom_function_default_get_columns_to_view() function ex $t_columns = 'description', it gives the following error in csv file..
<b>Fatal error</b>: Call to undefined function print_column_title_description() in <b>C:\Program Files\xampp\htdocs\mantis\csv_export.php</b> on line <b>71</b><br />
How to avoid this error and make thing work...I want to modify without using custom fields..If its possible ..Please Help me..its urgent..

Thanks in advance
Post Reply