[rt-users] Creating tickets and custom fields

Dimitry Faynerman dimitry.faynerman at hypermediasystems.com
Tue Apr 20 10:38:57 EDT 2004


Hello,

 

Here's what I found in CreateTicket function (file lib/RT/Interface/Web.pm):

 

  foreach my $arg (%ARGS) {

        if ($arg =~ /^CustomField-(\d+)(.*?)$/) {

            next if ($arg =~ /-Magic$/);

            $create_args{"CustomField-".$1} = $ARGS{"$arg"};

        }

    }

 

Does that mean that custom fields MUST have special names, i.e. start with
CustomField-<digits> in order to be processed correctly when a new ticket is
created?

 

Thanks,

Dimitry Faynerman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040420/48e342c2/attachment.htm>


More information about the rt-users mailing list