[rt-users] CreateChildTicket (Mathew)
Franzini, Gabriele [Nervianoms]
Gabriele.Franzini at nervianoms.com
Mon Mar 10 12:19:08 EDT 2008
It worked for us as per the first wiki example. Could not get the second
one to work.
# Put this in the file [RT
Root]/local/html/Callbacks/MY_CUST_FOLDER/Ticket/Display.html/BeforeShow
History
# (replace MY_CUST_FOLDER with your value)
# and it will create ugly button to create a child ticket in another
queue
# ---------------------------------
<FORM ACTION="<% $RT::WebPath %>/Ticket/Create.html"
NAME="CreateTicketInQueue">
<input type="submit" value="Create child request in">
<& /Elements/SelectQueue, Name => 'Queue', %ARGS, ShowNullOption => 0,
ShowAllQueues => 0 &>
<input type="hidden" name="new-MemberOf" value="<%$Ticket->Id%>">
<input type="hidden" name="Subject" value="Child of:
<%$Ticket->Subject%>">
</FORM>
<%INIT>
</%INIT>
<%ARGS>
$Ticket => undef
$Verbose => 0
$Default => 0
</%ARGS>
HTH,
Gabriele Franzini
ICT Applications Manager
Nerviano Medical Sciences SRL
Viale Pasteur 10
20014 Nerviano Italy
tel +39 0331581477
fax +39 0331581456
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080310/28be0024/attachment.htm>
More information about the rt-users
mailing list