Re: [Arsperl-users] change status and write on diary
Brought to you by:
jeffmurphy
|
From: Jeff M. <jcm...@je...> - 2007-05-16 11:33:44
|
Paizo wrote:
> thanks for your anwers.
> I still don't understand how you choose a specific trouble ticket, you
> just call getfieldtable by passing a form name and change the status and
> the diary by ars_setentry but of which ticket?!
>
>
I messed up the SetEntry call :-)
One of the parameters is "entry-id" which is the ticket# you want to
operate on.
>
> $c = ars_Login(server, user, pass);
> %t = ars_GetFieldTable($c, "Form Name");
ars_SetEntry($c, "Form Name",
"000000000012345", 0,
$t{'Status'}, "Closed",
$t{'Diary'}, "All fixed!")
|| die $ars_errstr;
|