<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 77.95pt 1.0in 77.95pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Hello,</span></font></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'> </span></font></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>Here's what I found in CreateTicket
function (file lib/RT/Interface/Web.pm):</span></font></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'> </span></font></p>
<p class=MsoPlainText><i><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black;font-style:italic'> foreach my $arg
(%ARGS) {</span></font></i></p>
<p class=MsoPlainText><i><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black;font-style:italic'>
if ($arg =~ /^CustomField-(\d+)(.*?)$/) {</span></font></i></p>
<p class=MsoPlainText><i><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black;font-style:italic'>
next if ($arg =~ /-Magic$/);</span></font></i></p>
<p class=MsoPlainText><i><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black;font-style:italic'>
$create_args{"CustomField-".$1} = $ARGS{"$arg"};</span></font></i></p>
<p class=MsoPlainText><i><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black;font-style:italic'>
}</span></font></i></p>
<p class=MsoPlainText><i><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black;font-style:italic'> }</span></font></i></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'> </span></font></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>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?</span></font></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'> </span></font></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>Thanks,</span></font></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>Dimitry Faynerman</span></font></p>
</div>
</body>
</html>