Exporting bug notes

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
goodybytes
Posts: 1
Joined: 19 Apr 2005, 12:32

Exporting bug notes

Post by goodybytes »

Hi,
How do you export bugs with a given criteria i.e. status of confirmed and include the bug notes in the export?

Would this require some work?

GB
Guest

Exporting bug notes

Post by Guest »

I did a query that got our bug notes per bug id, however, my mySQL skills are somewhat limited in a rush.

The following query works to an exetent. It does NOT give us all the bug notes for a given bug but just the 1st one...any ideas?

SELECT mantis_bugnote_table.bug_id, mantis_bug_table.status, mantis_bugnote_text_table.note, mantis_bug_table.project_id
FROM mantis_bugnote_table, mantis_bug_table, mantis_bugnote_text_table
WHERE (
mantis_bug_table.id = mantis_bugnote_table.bug_id
AND mantis_bugnote_table.bugnote_text_id = mantis_bugnote_text_table.id
)
AND (
mantis_bug_table.project_id =51
AND mantis_bug_table.status =40
)
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

Is there a reason why you don't want to use bugnote_get_all_bugnotes() from core/bugnote_api.php?

Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect/
Guest

Exporting bug notes

Post by Guest »

Hi,
Not having direct access to the back end of Mantis (apart from the phpMyAdmin), I don't have the joy of going in there and figuring this out.

How can our administrators achieve searching on a given criteria and then exporting the bugnotes using what you have described?

:: bugnote_get_all_bugnotes() from core/bugnote_api.php ::

Regards,
BG
Post Reply