Template, adding multiple depends-on dependencies

Hi

  I'm trying to create a template to spawn linked tickets in a
  different queue, using the extension with the same name!




  I'm stuck trying to create multiple dependencies. In this example
  I've set up below, I need to define a Site ID before I can get a
  phone line and ADSL, and I need the site ID AND the phone line
  before I can get the ADSL. 




  This example code doesn't work, there are two lines starting
  Depends-On: that confuse issues. 




  Any ideas how I can do this?








  ===Create-Ticket: 1.1.1_site_idSubject: [{$Tickets{TOP}->Subject}]: Site ID 


  Depended-On-By: TOP


  Queue: New


  Owner: Me


  Requestors: {$Tickets{TOP}->RequestorAddresses}


  Type: ticket


  Content-Type: text/plain


  Content: Define the site ID




  ENDOFCONTENT








  ===Create-Ticket: 1.1.2_phone


  Subject: [{$Tickets{TOP}->Subject}]: Phone


  Depended-On-By: TOP


  Depends-On: {$Tickets{"create-1.1.1_site_id"}->Id}


  Queue: New


  Owner: Me


  Requestors: {$Tickets{TOP}->RequestorAddresses}


  Type: ticket


  Content-Type: text/plain


  Content: Get a phone line






  ENDOFCONTENT








  ===Create-Ticket: 1.1.3_adsl


  Subject: [{$Tickets{TOP}->Subject}]: ADSL


  Depended-On-By: TOP

Depends-On:
{$Tickets{“create-1.1.1_site_id”}->Id}

Depends-On: {$Tickets{“create-1.1.2_phone”}->Id}

  Queue: New

Depends-On:
{$Tickets{“create-1.1.2_phone”}->Id}Owner: Me

  Requestors: {$Tickets{TOP}->RequestorAddresses}


  Type: ticket


  Content-Type: text/plain


  Content: Get ADSL on the phone line






  ENDOFCONTENT

I’m trying to create a template to spawn linked tickets in a different queue, using the
extension with the same name!

RT-Extension-SpawnLinkedTicketInQueue doesn’t have anything to do with
the CreateTicket template you’re creating below, so I’m not sure of
the relevance?

This example code doesn’t work, there are two lines starting Depends-On: that confuse issues.

How does it not work. When you set your log level to debug, what’s in
your logs? In particular, RT will debug log while creating links.

-kevin