Take a look at Redmine. It's a rails app for project issue tracking and documentation that is free, open source, pretty extensible, and has a decently sized community posting how-tos, plugins (some free, some paid), some of which include a pretty nice helpdesk style ticketing system. There are...