[rt-users] on customfield changed
Todd Chapman
rt at chaka.net
Wed Mar 31 08:48:21 EST 2004
if ($self->TransactionObj->Type eq "CustomField") {
return(1);
}
elsif ($self->TransactionObj->Type eq "Create" && $self->TicketObj->FirstCustomFieldValue("myField") {
return(1);
} else {
return(undef);
}
On Wed, Mar 31, 2004 at 02:42:12PM +0200, Robin Ericsson wrote:
>
> I also have a scrip that looks for changes on the customfield, it looks
> like this:
> """
> if ($self->TransactionObj->Type eq "CustomField") {
> return(1);
> } else {
> return(undef);
> }
> """
>
> The problem is that last one doesn't catch when setting the custom field
> upon ticket creation, and that is my question, how do I match the custom
> field value upon ticket creation?
>
>
>
> regards
> Robin
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.bestpractical.com
> http://lists.bestpractical.com/mailman/listinfo/rt-users
>
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
More information about the rt-users
mailing list