[rt-users] Change Control and approvals

Matt Wells matt.wells at mosaic451.com
Thu Jan 29 11:19:43 EST 2015


I've been looking through the documentation on Approvals and hoped to get a
little user point of view and help.  So far this isn't working.

I have a CCB queue and I've made a template named XYZ-CCB
===Create-Ticket: codereview
Subject: Code review for  {$Tickets{'TOP'}->Subject}
Depended-On-By: {$Tickets{'TOP'}->Id}
Queue: ___Approvals
Type: approval
Content: Someone has created a ticket. you should review and approve it, so
they can finish their work
ENDOFCONTENT

 AdminCC: {
   my $group_name  = 'My-CCB';
   my $groups      = RT::Groups->new( $RT::SystemUser );

   $groups->LimitToUserDefinedGroups();
   $groups->Limit(
         'FIELD'    => 'Name',
         'OPERATOR' => '=',
         'VALUE'    => $group_name );
   $groups->First->Id;
}


After that I made the script as per the docs -
Condition: On Create
Action: create tickets
Template: XYZ-CCB

I'm rather ignorant on this approvals module but as far as I can tell these
appear to be correct however they are not.  I'm working on getting educated
on these workflows.

To add to it; I'm being asked for 2 levels of approvals.
So the group "My-Bosses" will approve it and then that of course goes to
"My-Security" group.  They're the final approval.
So to eat this elephant I'm trying to get the simple single group working.
Has anyone else done multi-group approvals?

As always thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150129/e7f0a7df/attachment.htm>


More information about the rt-users mailing list