<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>

<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=109315207-10102007>I have a CF named "company"; with "rt show" command for 
a ticket with this field valued, I can see that I get 
CF-company </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=109315207-10102007>so the conmand I verified that works in my case in 
3.6.5 is this:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=109315207-10102007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff>[root@rt ~]# rt edit 
ticket/59 set CF-company='Peviani'<BR># Ticket 59 updated.<BR></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff>you should probably give:</FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff></FONT></SPAN> </DIV></FONT>
<DIV dir=ltr align=left><FONT color=#0000ff><FONT face=Arial><FONT 
color=#000000>rt edit ticket/120650 set CF-3='client_100'</FONT><BR><SPAN 
class=109315207-10102007>if the name of the CF is "3"</SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff> </DIV></FONT>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff>This custom field of mine is of type "Select one 
value"</FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff>Nevertheless, the strange thing is hat if I set an incorret 
value</FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff>[root@rt ~]# rt edit ticket/59 set CF-company='badvalue'<BR># 
Ticket 59 updated.<BR></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff>the ticket is updated in a way that in the main page for the 
ticket I see </FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff>custome fields:</FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff>company: bad value</FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff>while if I go in basic data for the ticket I see 
</FONT></SPAN></FONT><FONT face=Arial color=#0000ff><SPAN 
class=109315207-10102007>(novalue)  highlighted</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=109315207-10102007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=109315207-10102007>probably because it has an incorrect 
value....</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=109315207-10102007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=109315207-10102007>I think the second rt command should give an error, 
instead of updating the ticket.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=109315207-10102007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=109315207-10102007>Gianluca</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=109315207-10102007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT><SPAN class=109315207-10102007><FONT face=Arial 
color=#0000ff> </DIV></FONT></SPAN></FONT><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=it dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma><B>Da:</B> rt-users-bounces@lists.bestpractical.com 
  [mailto:rt-users-bounces@lists.bestpractical.com] <B>Per conto di </B>FranCHo 
  Org<BR><B>Inviato:</B> marted́ 9 ottobre 2007 13.03<BR><B>A:</B> 
  rt-users@lists.bestpractical.com<BR><B>Oggetto:</B> RE: R: [rt-users] How to 
  integrate RequestTracker with our web ?<BR></FONT><BR></DIV>
  <DIV></DIV>Ok, it works fine (with -i param too) thanks.<BR><BR>And for the 
  CustomFields what is the solution?<BR><BR>Thanks in 
  advance.<BR>---<BR><<< FranCHo 
  >>>>>>>>>>>>>>>>>>>>>>><BR><BR>
  <HR>
  Express yourself instantly with MSN Messenger! <A 
  href="http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/" target=_new>MSN 
  Messenger</A> </BLOCKQUOTE></BODY></HTML>