Page 1 of 1

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

Posted: Jul 09, 2008 7:40 am
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

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

Posted: Jul 19, 2008 6:36 pm
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.