[rt-users] Scrip condition based on body of ticket?
Ruslan U. Zakirov
Ruslan.Zakirov at miet.ru
Tue May 17 17:12:20 EDT 2005
Josh wrote:
> I have a request from one of our staff that requires me to set them
> as a watcher on a ticket when it's created *if* the ticket contains a
> certain word/phrase. However, I can't seem to get access to the body
> or subject of the ticket when it's created. I tried something like this
> in the ScripCondition:
>
> $self->TransactionObj->ContentObj->Content =~ m/whatever/
>
> But no dice. Anynoe have a pointer as to where I'm going wrong?
> I didn't manage to find anything suitable on the wiki.
Use http://wiki.bestpractical.com/index.cgi?SetTicketPropertiesViaMail
as example.
>
> thanks
>
> -jkl
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
More information about the rt-users
mailing list