MantisBT Database Tweaker
This is a command line application that lets you tweak the MantisBT database.
- Change owner
- Change date submitted
- Add monitor to an issue
- Delete monitor from issue
- Add bugnote
- Move bugnote
- Modify time tracking
- Modify time
- Modify owner
- Modify category
- Delete category
Confirmation is required before any changes will be made. The SQL which will be executed is displayed and the SQL needed to rollback the change is also given, just in case!
- Currently only tested using MantisBT 1.2.8 but may work with later versions.
- Requires _mysql Python module to be available.
- Download the file and place it in a directory on your
- Edit and change the MySQL access credientials in the CONFIG section.
- Save and run!
MantisBT Database Tweaker v2.0 ============================== Bugs ---- 1) Change owner Monitor ------- 2) Add monitor to an issue 3) Delete monitor from issue Bugnotes -------- 4) Add bugnote 5) Move bugnote 6) Modify time tracking 7) Modify time 8) Modify owner Categories ---------- 9) Modify category 10) Delete category Enter selection (return to exit): 8 ===================== Change bugnote owner --------------------- 4 Marcel Wave user1 32 Sid Snot user2 31 Cupid Stunt user3 Select user id: 32 Enter bugnote number: 123 Change owner of 'My email is broken' to 'Sid Snot (32)' [y/n]: y Rollback: UPDATE mantis_bugnote_table SET reporter_id = 4 WHERE id = 123 UPDATE mantis_bugnote_table SET reporter_id = 32 WHERE id = 123