sage-dev: cleanup create_ticket and improve ticket parsing