Creating a ticket externally

Good Morning List,

I have searched through the list archives trying to gather information on
the project I’m working on, but the results have been rather inconclusive.

What I’m trying to do is create a ticket externally to RT (eg, the software
residing on another machine needs to create a ticket in RT on the machine
running RT).

What I have figured out is I don’t want to add the data directly into the
database. I want to use RT’s API to create the ticket.

So working from a remote machine, I assume I should be able to install the
Perl modules associated with RT to do this?

I hope I wouldn’t have to do a full install of RT remotely. Has anyone
done anything like this, or could point to a bit of information on how to
do this? Any help would be appreciated.

Brandon

I think creating a ticket by email would work for you but I have yet
to make this work on rt3.4.0rc6. There are good docs on this by Petter
Reinholdsten in the RT-Wiki. The article is from the University of
Oslo at: http://www.usit.uio.no/it/rt/modifications.html.
It is also on the RT Wiki under contributions at the bottom of the page.

This was working for me at one point until I upgraded to 3.4.0 and now
it is broken and I have not been able to find the problem. It refuses
to recognize the $currentuser. If you are using 3.2.2 I think it
should work.On Mon, 31 Jan 2005 11:12:26 -0700, Brandon brandon-l@wyops.com wrote:

Good Morning List,

I have searched through the list archives trying to gather information on
the project I’m working on, but the results have been rather inconclusive.

What I’m trying to do is create a ticket externally to RT (eg, the software
residing on another machine needs to create a ticket in RT on the machine
running RT).

What I have figured out is I don’t want to add the data directly into the
database. I want to use RT’s API to create the ticket.

So working from a remote machine, I assume I should be able to install the
Perl modules associated with RT to do this?

I hope I wouldn’t have to do a full install of RT remotely. Has anyone
done anything like this, or could point to a bit of information on how to
do this? Any help would be appreciated.

Brandon


The rt-users Archives

RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

What I have figured out is I don’t want to add the data directly into
the database. I want to use RT’s API to create the ticket.

yup, don’t talk sql. that way is only pain.

So working from a remote machine, I assume I should be able to install
the Perl modules associated with RT to do this?

I hope I wouldn’t have to do a full install of RT remotely. Has
anyone done anything like this, or could point to a bit of information
on how to do this? Any help would be appreciated.

If you wanted to use the api directly, I think you’d need a full RT
install, and then it’d talk to the remote db. It seems more sensible
to talk to the POST interface the mailgate uses, or the new atom one I
hear about. You could also just post values to the web form.

seph