Exporting issues to CSV with relationships intact

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Konrad
Posts: 6
Joined: 19 Aug 2011, 11:36

Exporting issues to CSV with relationships intact

Post by Konrad »

I've been able to export projects or individual issues to CSV files using the built-in functionality, however only the following headings are generated in the CSV file:

Id,Project,Reporter,Assigned To,Priority,Severity,Reproducibility,Product Version,Category,Date Submitted,OS,OS Version,Platform,View Status,Updated,Summary,Status,Resolution,Fixed in Version

There doesn't appear to be a way to export relationships between issues - is there something I am missing or is this something that is planned for a future release?
atrol
Site Admin
Posts: 8576
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Exporting issues to CSV with relationships intact

Post by atrol »

Konrad wrote: There doesn't appear to be a way to export relationships between issues
Can you explain what contents you expect in csv?
Please use Search before posting and read the Manual
Konrad
Posts: 6
Joined: 19 Aug 2011, 11:36

Re: Exporting issues to CSV with relationships intact

Post by Konrad »

atrol wrote:
Konrad wrote: There doesn't appear to be a way to export relationships between issues
Can you explain what contents you expect in csv?
Perhaps a headings like the following listing MantisIDs : Duplicate Issues, Parent Issues, Related Issues (... etc, covering all possible interissue relationships).

EDIT: At present, only the following headings are created in CSV files:

Id,Project,Reporter,Assigned To,Priority,Severity,Reproducibility,Product Version,Category,Date Submitted,OS,OS Version,Platform,View Status,Updated,Summary,Status,Resolution,Fixed in Version
atrol
Site Admin
Posts: 8576
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Exporting issues to CSV with relationships intact

Post by atrol »

Have a look at http://www.mantisbt.org/bugs/view.php?id=12475
Maybe the user jmonin will deliver his quick and dirty solution to you.
Please use Search before posting and read the Manual
Konrad
Posts: 6
Joined: 19 Aug 2011, 11:36

Re: Exporting issues to CSV with relationships intact

Post by Konrad »

I'd sooner not have to make code changes even if they were available.

This strikes me as a rather key omission from this functionality, are there no plans to introduce this into the existing CSV export?
atrol
Site Admin
Posts: 8576
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Exporting issues to CSV with relationships intact

Post by atrol »

Konrad wrote:are there no plans to introduce this into the existing CSV export?
Patches are welcome. (Fork on https://github.com/mantisbt/mantisbt and submit a pull request) It all depends on priority and a core developer or community member deciding to spend their time on a specific issue.
Please use Search before posting and read the Manual
Post Reply