<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi<br>
<br>
I'm trying to create a template to spawn linked tickets in a
different queue, using the extension with the same name!<br>
<br>
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. <br>
<br>
This example code doesn't work, there are two lines starting
Depends-On: that confuse issues. <br>
<br>
Any ideas how I can do this?<br>
<br>
<br>
<br>
===Create-Ticket: 1.1.1_site_id<br>
Subject: [{$Tickets{TOP}->Subject}]: Site ID <br>
Depended-On-By: TOP<br>
Queue: New<br>
Owner: Me<br>
Requestors: {$Tickets{TOP}->RequestorAddresses}<br>
Type: ticket<br>
Content-Type: text/plain<br>
Content: Define the site ID<br>
<br>
ENDOFCONTENT<br>
<br>
<br>
<br>
===Create-Ticket: 1.1.2_phone<br>
Subject: [{$Tickets{TOP}->Subject}]: Phone<br>
Depended-On-By: TOP<br>
Depends-On: {$Tickets{"create-1.1.1_site_id"}->Id}<br>
Queue: New<br>
Owner: Me<br>
Requestors: {$Tickets{TOP}->RequestorAddresses}<br>
Type: ticket<br>
Content-Type: text/plain<br>
Content: Get a phone line<br>
<br>
<br>
ENDOFCONTENT<br>
<br>
<br>
<br>
===Create-Ticket: 1.1.3_adsl<br>
Subject: [{$Tickets{TOP}->Subject}]: ADSL<br>
Depended-On-By: TOP<br>
</font><font face="Helvetica, Arial, sans-serif"><font
face="Helvetica, Arial, sans-serif">Depends-On:
{$Tickets{"create-1.1.1_site_id"}->Id}<br>
</font>Depends-On: {$Tickets{"create-1.1.2_phone"}->Id}<br>
Queue: New</font><br>
<font face="Helvetica, Arial, sans-serif"><font face="Helvetica,
Arial, sans-serif">Depends-On:
{$Tickets{"create-1.1.2_phone"}->Id}</font>Owner: Me<br>
Requestors: {$Tickets{TOP}->RequestorAddresses}<br>
Type: ticket<br>
Content-Type: text/plain<br>
Content: Get ADSL on the phone line<br>
<br>
<br>
ENDOFCONTENT</font>
</body>
</html>