[rt-users] Change ticket status to "Waiting for approval"

Kevin Falcone falcone at bestpractical.com
Fri May 29 10:30:14 EDT 2009


On May 29, 2009, at 9:42 AM, Jeremy Winder wrote:

> Normally I wouldn't ask this question without doing some more research
> on my own, but I'm under the gun to get this setup as soon as  
> possible.
>
> I have done a fresh installation of RT 3.8.3, enabled the ___Approvals
> queue, added the following scrip and templates:
>
> <scrip>
> Description: Create CR Approval
> Condition:   On Create
> Action:      Create Tickets
> Template:    Change Request Approval
> Stage:       TransactionCreate
> </scrip>
>
> <template>
> ===Create-Ticket: Approval
> Subject: CR Approval for: {$Tickets{TOP}->Id} - {$Tickets{TOP}- 
> >Subject}
> Refers-To: TOP
> Queue: ___Approvals
> Owner: jwinder
> Requestors: {$Tickets{TOP}->Requestors}
> Depended-On-By: TOP
> Type: approval
> Content-Type: text/plain
> Due: {time + 86400}
> Content: Someone has created a ticket. you should review and approve  
> it,
> so they can get to work.
> ENDOFCONTENT
> </template>
>
> The approval system seems to be working with one minor irritation.  
> In my
> general queue, when a ticket is waiting for approval its status is
> (pending 1 other ticket), it would be awesome if it would say (waiting
> for approval) or something similar.

It should be showing (pending approval) if it depends on an active  
approval
ticket.  You can find the display code in Elements/RT__Ticket/ColumnMap

-kevin

>
>
> I'll have this same issue later when I'll want to setup a "for  
> testing"
> queue and have the status say (in testing).
>
> Thanks in advance for any help someone can give me, I do appreciate  
> it.
>
> Jeremy
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>




More information about the rt-users mailing list