Priority in a Template

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
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?

Thanks!
Jonathan
View this message in context: http://old.nabble.com/Priority-in-a-Template-tp28178696p28178696.html

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