Re: [rt-users] create child ticket

2007-01-23 Thread Chris Hobbs

Here's one method:

http://wiki.bestpractical.com/index.cgi?CreateChildTicket

I customized it a bit for our needs and wrapped it in div package that 
makes it look like the other sections of the Display.html page. It 
allows a user to spawn a depended-on ticket in our Tasks queue with a 
particular Owner, or alternatively create a PartsOrder ticket. The link 
above gives you the basics, this is a bit more complex. It lives in 
local/html/Callbacks/SA/Ticket/Display.html/BeforeShowSummary


Hope it helps!

Chris

div class=titlebox ticket-task-form id=
 div class=titlebox-title
   span class=widgeta href=# onclick=return 
rollup('TitleBox--_Ticket_Display.html--ticket-task-formTasks and 
Parts---0'); onfocus=this.blur(); return false; title=Toggle 
visibilityX/a/span

   span class=leftTasks and Parts/span
   /div
 div class=titlebox-content  
id=TitleBox--_Ticket_Display.html--ticket-task-formTasks and 
Parts---0
FORM ACTION=% $RT::WebPath %/Ticket/Create.html 
NAME=CreateTicketInQueue

 input class=button type=submit value=Create associated task for:
  /Elements/SelectOwner, Name = 'Owner', QueueObj = 
$Ticket-QueueObj 

 input type=hidden name=Queue value=Tasks
 input type=hidden name=DependsOn-new value=%$Ticket-Id%
 input type=hidden name=Subject value=Task for: 
%$Ticket-Subject%

/FORM
br /
FORM ACTION=% $RT::WebPath %/Ticket/Create.html 
NAME=CreateTicketInQueue

 input class=button type=submit value=Order Parts
 input type=hidden name=Queue value=PartsOrdering
 input type=hidden name=DependsOn-new value=%$Ticket-Id%
 input type=hidden name=Subject value=Part for: 
%$Ticket-Subject%

/FORM
/div
/div
%ARGS
$Ticket = undef
$Verbose =  0
$Default = 0
/%ARGS


Robin Ericsson wrote:

Following up my previous non-answered post.

Are there any other tools out there that lets the user easily create a
subticket, preferably in another thread?



___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] create child ticket

2007-01-22 Thread Robin Ericsson

Following up my previous non-answered post.

Are there any other tools out there that lets the user easily create a
subticket, preferably in another thread?

--
   regards,
   Robin
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] create child ticket

2007-01-22 Thread John Arends
When you create a new ticket, you can click on 'show details' and enter 
a ticket number for Depends on.


This isn't as nice as a button that says create child ticket though.


Robin Ericsson wrote:

Following up my previous non-answered post.

Are there any other tools out there that lets the user easily create a
subticket, preferably in another thread?


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com