I believe RT (Request Tracker) is the best opensource ticketing system but I haven't used it except as a user.
If your actually doing something more like bug tracking than Mantis would be my recommendation. Bugzilla is more comprehensive but also much more complicated.