[rt-users] Interfacing with RT via PHP

David C. Troy dave at toad.net
Mon Jun 17 13:52:58 EDT 2002


I built a really crummy ad-hoc XML interface to RT, based on the Perl RT
API, and it works OK.  I'd be a little embarassed to release it to the
world with any sort of presumption that it's complete, correct, or even
close to following standards that it should follow.  But, I would consider
posting it to the list for folks to gawk at and (even better) spend some
time making it buzzword-compliant.

Let me know if there is interest...

Dave

=====================================================================
David C. Troy   [dave at toad.net]                   410-544-6193 Sales
ToadNet - Want to go fast?                        410-544-1329 FAX
570 Ritchie Highway, Severna Park, MD 21146-2925  www.toad.net

On Mon, 17 Jun 2002, darren chamberlain wrote:

> * Chris Knipe <savage at savage.za.org> [2002-06-17 13:19]:
> > Are there anything available that's written already to interface with
> > RT's tickets via PHP?
>
> One thing I'm interested in doing, if only I had the time, is an XML-RPC
> interface to RT (XML-RT ?).  Once that is in place, you could interface
> with RT from any client or programming language.  Every popular language
> that I can think of has XML-RPC bindings (including PHP, of course), so
> there would be no need to limit WebRT to being implemented using
> HTML::Mason; the current WebRT could be rewritten to use XML::RPC as the
> underlying API, rather than the Perl modules.
>
> The best part of this would be that Jesse would be free to concentrate
> on improving the base of RT.  After all, the main reasons to use RT are
> the complex database it contains; the well-defined, yet still
> extensible, relationships between tickets, users, and queues; the Scrips
> and other automatic actions for which RT allows; and so on.  The various
> interfaces are secondary to the data that the libraries provide access
> to.  In fact, all the current interfaces, plus some new ones, would
> probably be easier to write and maintain if they were presentation-level
> wrappers around XML-RPC calls.
>
> This is a long way off, of course.  But it would be practially ideal.
>
> To answer your question, however, the easiest thing to do would be to
> have the PHP script fire off an email to the email gateway, and ensure
> that there is an OnCreate scrip to respond to the user.
>
> (darren)
>
> --
> Usenet is like a herd of performing elephants with diarrhea;
> massive, difficult to redirect, awe-inspiring, entertaining, and a
> source of mind-boggling amounts of excrement when you least expect
> it.
>     -- Eugene Spafford.
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
>





More information about the rt-users mailing list