Sorry I see now that I need to use search  

http://XXXX/REST/1.0/search/ticket/?user=XXXX&pass=XXXX&query=%20id%20%3D%2048&format=l


 
Jeff Stark, Sr Systems Administrator      
SumTotal Systems, Inc. (Nasdaq; SUMT)                       


OFFICE    +1 919 326 7548
MOBILE  +1 919 622 0418

EMAIL     [EMAIL PROTECTED]

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Stark
Sent: Friday, April 20, 2007 3:16 PM
To: Jesse Vincent; Torbjørn Moen
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] RTGUI,a Graphical User Interface for Best Practical's 
Request Tracker

Using REST  Web Services:
http://XXXX/REST/1.0/Forms/ticket/default?user=XXXX&pass=XXXX&id=249

I receive the following error:
        Can't use an undefined value as a HASH reference at 
/opt/rt3/share/html/REST/1.0/Forms/ticket/default line 178.

        Stack:
          [/opt/rt3/share/html/REST/1.0/Forms/ticket/default:178]
          [/opt/rt3/share/html/REST/1.0/autohandler:52]
          [/opt/rt3/share/html/autohandler:292]

When I look at line 178 it is performing the following:
    push @data, [ Queue => $ticket->QueueObj->Name ] 


Any suggestions on what may be causing this?  I am passing a valid ticket id in.

 
-Stark
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jesse Vincent
Sent: Friday, April 20, 2007 2:22 PM
To: Torbjørn Moen
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RTGUI,a Graphical User Interface for Best Practical's 
Request Tracker


On Apr 20, 2007, at 2:16 PM, Torbjørn Moen wrote:

>
> An API would be the best way to do this, but given that we need to 
> produce a working application for the IT Service on 21st of May this 
> probably won't happen from us until after that time.
>

The existing REST webservices API should have what you need. What doesn't it 
have?

Best,
Jesse
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com Commercial support: [EMAIL 
PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Reply via email to