Does osTicket have a Contributor License Agreement for potential code contributors?
I am not a lawyer, but I would say that all contributed code is under the same license that governs osTicket originally (GNU GPL v2).