In my quest to become a better Grails developer, I have started to build a basic and free trouble ticket – / support – / helpdesk system, from the ground up. It’s not intended to compete with the big systems, but might fit in where less features are required. It supports receiving and sending emails, detecting client based on email domains, notifications on new tickets, simple client statistics and an API, so you can easily integrate the system into your website / customer frontend.
I have made the sourcecode available on Bitbucket and there is a demo here (login as admin / secret).