How do i create a dependent ticket?

Is there a sample code for creating a new ticket based on a
===Create-Ticket: template?

–xinhuan