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: 28 Sep 2006, 10:03

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

Post by plume7 »

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: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

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

Post by vboctor »

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