<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Ok solved. It was a Custom Field's permission problem.<br><br><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial">"rt edit ticket/59 set CF-company='badvalue' " works for me.</span></font><br><br>Thanks for your help<br>---<br><<< FranCHo >>>>>>>>>>>>>>>>>>>>>>><br><br><blockquote><hr>Subject: R: R: [rt-users] How to integrate RequestTracker with our web ?<br>Date: Wed, 10 Oct 2007 10:01:48 +0200<br>From: gcecchi@peviani.it<br>To: sendas_net@hotmail.com; rt-users@lists.bestpractical.com<br><br>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span class="EC_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 color="#0000ff" face="Arial"><span class="EC_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 color="#0000ff" face="Arial"><span class="EC_109315207-10102007"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial">[root@rt ~]# rt edit
ticket/59 set CF-company='Peviani'<br># Ticket 59 updated.<br></font></div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial">you should probably give:</span></font></div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial"></span> </font></div>
<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="EC_109315207-10102007">if the name of the CF is "3"</span></font></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"> </font></div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial">This custom field of mine is of type "Select one
value"</span></font></div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial"></span></font> </div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial">Nevertheless, the strange thing is hat if I set an incorret
value</span></font></div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial">[root@rt ~]# rt edit ticket/59 set CF-company='badvalue'<br>#
Ticket 59 updated.<br></span></font></div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial">the ticket is updated in a way that in the main page for the
ticket I see </span></font></div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial">custome fields:</span></font></div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial"></span></font> </div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial">company: bad value</span></font></div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial"></span></font> </div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial">while if I go in basic data for the ticket I see
</span></font><font color="#0000ff" face="Arial"><span class="EC_109315207-10102007">(novalue) highlighted</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span class="EC_109315207-10102007"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span class="EC_109315207-10102007">probably because it has an incorrect
value....</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span class="EC_109315207-10102007"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span class="EC_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 color="#0000ff" face="Arial"><span class="EC_109315207-10102007"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span class="EC_109315207-10102007">Gianluca</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span class="EC_109315207-10102007"></span></font> </div>
<div dir="ltr" align="left"><span class="EC_109315207-10102007"><font color="#0000ff" face="Arial"> </span></font></div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div class="EC_OutlookMessageHeader" dir="ltr" align="left" lang="it">
<hr>
<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="_blank">MSN
Messenger</a> </blockquote>
</blockquote><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>