Re: [Arsperl-users] Function to Close a ticket
Brought to you by:
jeffmurphy
|
From: Richard H. <ric...@ho...> - 2007-11-13 08:48:01
|
All you need to do is call ars_MergeEntry and change the Status field to th=
e value representing 'Closed'. E.g. you would write:
=20
my $response =3D ars_MergeEntry(
$ctrl,
$schema,
1028,
1,
$ticket_number,
$status_field_id,
N
);
=20
where N is the numeric value corresponding to "Closed" (BTW, the above assu=
mes that 1 is the field-id of the "ticket number" field).
=20
Cheers,
=20
Richard.
=20
> Date: Mon, 12 Nov 2007 14:37:34 -0500> From: ra...@co...> To: arsperl-=
us...@ar...> Subject: [Arsperl-users] Function to Close a ticket> > H=
i: is there a function in ARS Perl that can be used to update the > Status =
to Closed in the help desk?> > Thanks> > ----------------------------------=
---------------------------------------> This SF.net email is sponsored by:=
Splunk Inc.> Still grepping through log files to find problems? Stop.> Now=
Search log events and configuration files using AJAX and a browser.> Downl=
oad your FREE copy of Splunk now >> http://get.splunk.com/> _______________=
________________________________> Arsperl-users mailing list> Arsperl-users=
@arsperl.org> https://lists.sourceforge.net/lists/listinfo/arsperl-users
_________________________________________________________________
The next generation of MSN Hotmail has arrived - Windows Live Hotmail
http://www.newhotmail.co.uk=
|