[rt-users] Custom condition for script
Miles Scruggs
miles at digitalphotobox.net
Mon Apr 22 15:51:42 EDT 2013
anyone able to help on this one?
On Tue, Apr 16, 2013 at 10:46 AM, Miles Scruggs
<miles at digitalphotobox.net>wrote:
> I have a couple users that can't be trained to CC each other, and they
> need to be CC'd on everything they create, but they also aren't the only
> ones creating to the queue so I can't just set them as a watcher for the
> queue.
>
> Basically I would like to check on create to see if they are one or the
> other user, and if they are then I would like to add their counterpart as a
> CC to the ticket. Basically some code that looks like this:
>
> if(user=bob | bill) {
> AddUserAsCCToTicket(bob&bill)
> }
>
> The bad news here is that I'm incredibly dumb when it comes to perl, and
> have no grasp at all of the syntax much less the methods to use.
>
> I'm guessing I put stuff like this in scrips, but I'm not 100% and I'm not
> sure if that can be put entirely in the condition or if I need to put it in
> both the condition and the action...
>
> Cheers
>
> Miles Scruggs
> miles at digitalphotobox.net
>
>
>
>
--
Cheers,
Miles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130422/a4d756c6/attachment.htm>
More information about the rt-users
mailing list