please please debug my code just once...
i tried on the in code Hours...
This is very important for me
comment in ticket in create but Without attach...
#!/usr/bin/perl
#
# comment_on_ticket.pl -- add comment to an RT ticket.
use strict;
use warnings;
use RT::Client::REST::Ticket;
use Error q
Le 05/11/2014 19:47, Shahab Sharifzadeh a écrit :
> I have a perl code.
> in the code add comment on ticket (rt)..
> how can i add attach file to this code?
>
RTFM?
perldoc RT::Client::REST
[...]
comment (ticket_id => $id, message => $message, %opts)
Comment on a ticket with ID $id. Option
I have a perl code.
in the code add comment on ticket (rt)..
how can i add attach file to this code?
.
#!/usr/bin/perl
#
# comment_on_ticket.pl -- add comment to an RT ticket.
use strict;
use warnings;
use RT::Client::REST::Ticket;
use Error qw(:try);
use RT::Client::REST;
use RT::Client::REST::Ti
very thank...
nobody help me?
On Wed, Nov 05, 2014 at 06:56:28AM -0800, Shahab Sharifzadeh wrote:
>
> Does not work :( :
>
sorry, no time to debug this now, maybe someone else on this list ...
--
Easter-eggs Spécialiste GNU/Linux
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité
Does not work :( :
HTTP/1.1 200 OK
Date: Wed, 05 Nov 2014 05:21:25 GMT
Server: Apache/2.4.7 (Ubuntu)
Set-Cookie:
RT_SID_tickets.80=18cb22f93510931eb02ea53741f19242;
path=/rt; HttpOnly
X-Frame-Options: DENY
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/plain; cha
On Wed, Nov 05, 2014 at 05:20:52AM -0800, Shahab Sharifzadeh wrote:
> Thanks you...
>
> i tried according to my search in web wrote the following code by php:
>
>
> $attachment_1 = file_get_contents('/opt/app/test/1.jpg');
> $content = "id: 12\n";
> $content = $content . "Action: comment\n";
Thanks you...
i tried according to my search in web wrote the following code by php:
http://192.168.1.201/rt/REST/1.0/';
$request .= 'ticket/12/comment';
$postargs = array(
'user' => 'root',
'pass' => 'Nasim1414',
'content' => $content,
'attachment_1' => $a
Hello list,
I am setting up a queue for our premise and estate department and they have
requested the ability to print off a ticket so that it can be handed to the
tradesman who will be handling the job. The issue is that they only want a
certain subset of the ticket metadata to be displayed an
Thank you Alex for a quick reply,
I just chacked the version installed of DBD::Pg on my server and it is
2.19.3-2
(installed from Ubuntu repositories, package name libdbd-pg-perl).
Can you tell me how to proceed with this? Should I install newest RT4 with
the newest DBD::Pg, or is there another so
On Tue, Nov 04, 2014 at 11:11:53AM -0800, Shahab Sharifzadeh wrote:
>Thanks...
>I want to create a ticket with attachment...(callervoice.gsm)
>But according to my search in web I can not use from Rest because when I
>create ticket, the attach file was not sent with them...
You nee
11 matches
Mail list logo