Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
lady:factory:bugzilla2mantis [2023/06/26 15:12] – ↷ Page moved from factory:bugzilla2mantis to lady:factory:bugzilla2mantis Count Zero | lady:factory:bugzilla2mantis [2023/06/26 22:48] (current) – ↷ Links adapted because of a move operation 65.108.103.97 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Bugzilla 2 Mantis ====== | ||
+ | |||
+ | My particular conversion method to convert a [[http:// | ||
+ | |||
+ | ===== Download ===== | ||
+ | |||
+ | As always, the more recent version will be the one in the [[svn>/ | ||
+ | |||
+ | ===== Usage ===== | ||
+ | |||
+ | You only need to edit '' | ||
+ | |||
+ | The application __writes directly__ the conversion to the Mantis database, so the MySQL user need at least read permission to Bugzilla database and write permission on Mantis database. | ||
+ | |||
+ | You need to run it from the browser. Yes, the interface is ugly and simple but the idea is that you only use it once ;). Is a step-based process where on each pass you will see: | ||
+ | |||
+ | * The first header column showing the Bugzilla table readed | ||
+ | * The second header column shows the callback function that does the mapping to Mantis | ||
+ | * For each subsequent row, it will show on the first column the SQL sentence executed. | ||
+ | * The second column will show MySQL errors (if any, so nothing = no error) | ||
+ | * Finally a summary of SQL writes on database and the number of errors | ||
+ | * A //Next// button or FINISHED if you reach the last step. | ||
+ | |||
+ | ===== Advanced ===== | ||
+ | |||
+ | ==== Customization of some mappings ==== | ||
+ | |||
+ | The more basic and easy customization can be done editting the file '' | ||
+ | |||
+ | Basically this customization allow you to map priorities, severities and some other fields to be mapped. | ||
+ | |||
+ | ==== Advanced Customization ==== | ||
+ | |||
+ | The more hard part, only if you have PHP knowledge (and is not good documented) is to edit the '' | ||
+ | |||
+ | This file is a bunch of functions where each function will receive an associative array from a Buzilla row and must return an array of SQL sentences to be executed on the Mantis Database. Usually you will find a comment at the start of the function telling from which buzilla table expects to receive rows. | ||
+ | |||
+ | You can develop a new function. If you do this try to keep the same structure and you will need to edit '' | ||
+ | |||
+ | ===== Last Changes ===== | ||
+ | |||
+ | {{rss> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{tag> | ||