How to export the relationship (eg. parent) columns in CVS?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
plume7
Posts: 28
Joined: Sep 28, 2006 5:03 am

How to export the relationship (eg. parent) columns in CVS?

Post by plume7 » Jul 09, 2008 7:40 am

Hello

Mantis 1.0.8
I want to added the relationship column when exporting to CVS.
IN other words, I want to see for an issue who are its parent, childs, etc

I did not find this column (relationship) in any documentation or parent_of, child_of, etc columns
How is this implemented?

How to write this export in core/custom_function.api?
function custom_function_default_get_columns_to_view( $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) {
$t_columns = array();

if ( $p_columns_target == COLUMNS_TARGET_CSV_PAGE ) {
$t_columns[] = 'id'; // localized: 'id',
....
Is this the right way to do that?

Thanks, Laurent

vboctor
Site Admin
Posts: 1286
Joined: Feb 13, 2005 5:11 pm
Location: Redmond, Washington
Contact:

Re: How to export the relationship (eg. parent) columns in CVS?

Post by vboctor » Jul 19, 2008 6:36 pm

This is not supported. Also note that one issue can have multiple parents, children, etc. So it seems that there needs to be a column per relationship type and such columns should support multiple values.
Migrate your MantisBT to the MantisHub Cloud

Post Reply