Ok solved. It was a Custom Field’s permission problem.
"rt edit ticket/59 set CF-company=‘badvalue’ " works for me.
Thanks for your help
<<< FranCHo >>>>>>>>>>>>>>>>>>>>>>>Subject: R: R: [rt-users] How to integrate RequestTracker with our web ?
Date: Wed, 10 Oct 2007 10:01:48 +0200
From: gcecchi@peviani.it
To: sendas_net@hotmail.com; rt-users@lists.bestpractical.com
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
so the conmand I verified that works in my case in
3.6.5 is this:
[root@rt ~]# rt edit
ticket/59 set CF-company=‘Peviani’
Ticket 59 updated.
you should probably give:
rt edit ticket/120650 set CF-3=‘client_100’
if the name of the CF is “3”
This custom field of mine is of type “Select one
value”
Nevertheless, the strange thing is hat if I set an incorret
value
[root@rt ~]# rt edit ticket/59 set CF-company=‘badvalue’
Ticket 59 updated.
the ticket is updated in a way that in the main page for the
ticket I see
custome fields:
company: bad value
while if I go in basic data for the ticket I see
(novalue) highlighted
probably because it has an incorrect
value…
I think the second rt command should give an error,
instead of updating the ticket.
Gianluca
Da: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] Per conto di FranCHo
Org
Inviato: martedì 9 ottobre 2007 13.03
A:
rt-users@lists.bestpractical.com
Oggetto: RE: R: [rt-users] How to
integrate RequestTracker with our web ?
Ok, it works fine (with -i param too) thanks.
And for the
CustomFields what is the solution?
Thanks in
advance.
<<< FranCHo
Express yourself instantly with MSN Messenger! MSN
Messenger
Express yourself instantly with MSN Messenger! Download today it’s FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/