RT XML/RPC interface

Does such a beastie exist? In the works, perhaps?

Jens

Jens Porup wrote:

Does such a beastie exist? In the works, perhaps?
As I know there is SOAP interface, but due “SOAP for perl” limitations
it was obsoleted.
Now, RT has REST interface and upcoming Atom.
Best regards. Ruslan.

Ruslan U. Zakirov wrote:

As I know there is SOAP interface, but due “SOAP for perl” limitations
it was obsoleted.
Now, RT has REST interface and upcoming Atom.
Best regards. Ruslan.

Ruslan,

But is there any documentation about this? I want to use this to create new
tickets from another system, but I don’t undertstand what format the request
needs to be in.

I think it needs to go to http://rt.company.com/REST/1.0/ticket/new
and I think it needs to be a POST request.
I get a template by doing a GET to that address, but using that template in
a TEXTAREA posted to that URL only produces an error message.

How does it really work?

Best Regards,

Howard

Howard Jones wrote:

Ruslan U. Zakirov wrote:

As I know there is SOAP interface, but due “SOAP for perl” limitations
it was obsoleted.
Now, RT has REST interface and upcoming Atom.
Best regards. Ruslan.

Ruslan,

But is there any documentation about this? I want to use this to create new
tickets from another system, but I don’t undertstand what format the request
needs to be in.

I think it needs to go to http://rt.company.com/REST/1.0/ticket/new
and I think it needs to be a POST request.
If you need unauthorized request then you can use
REST/1.0/NoAuth/mail-gateway
and send ‘message’ field as MIME formated block.

ticket/new is interface with auth.
you can always use user&pass GET/POST arguments

I get a template by doing a GET to that address, but using that template in
a TEXTAREA posted to that URL only produces an error message.
What error message?