[rt-users] Priority in a Template

Kevin Falcone falcone at bestpractical.com
Mon Apr 12 11:36:38 EDT 2010


On Thu, Apr 08, 2010 at 06:39:32AM -0700, Jonathan Rummel wrote:
> 
> Hi All,
> 
> I have a template I use with a scrip that uses a "Create Tickets" action. 
> It creates child tickets.  I want to pass the Priority of the parent ticket
> through to the child ticket, and can't seem to figure it out.  I tried the
> following:
> 
> ===Create-Ticket: codereview
> Subject: {$Tickets{'TOP'}->Subject}
> Depended-On-By: {$Tickets{'TOP'}->Id()}
> Owner: user
> Requestor: {$Tickets{'TOP'}->Creator}
> Priority: {$Tickets{'TOP'}->Priority}
> Queue: Queue 1
> Content: This is a child ticket automatically created from ticket
> #{$Tickets{'TOP'}->Id()}.
> ENDOFCONTENT
> 
> Everything there works except the Priority line.  Anyone know what I'm doing
> wrong?

Check out perldoc lib/RT/Action/CreateTickets.pm for a list of what
you can pass.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100412/05588a1a/attachment.sig>


More information about the rt-users mailing list