Convert threads to ticket