[rt-users] Create ticket using a URL + parameters

Kevin Falcone falcone at bestpractical.com
Fri Oct 14 09:39:18 EDT 2011


On Fri, Oct 14, 2011 at 02:35:01PM +0100, Peet Morris wrote:
> Kevin Falcone wrote:
> >On Fri, Oct 14, 2011 at 10:33:09AM +0100, Peet Morris wrote:
> >> I'm trying to create a ticket (using a browser as a proof of concept);
> >> I've had a look at http://requesttracker.wikia.com/wiki/REST and the
> >> 'Ticket Create' section but I'm getting nowhere, i.e., I don't seem to
> >> be forming my "variable named 'content', containing 'key: value'"
> >> correctly.
> >>
> >> If anyone has an example of what such a well-formed URL would look
> >>like in a browser
> >> I would be very grateful.
> >
> >Try running
> >
> >/opt/rt4/bin/rt help create
> >
> >and then using the environment variable
> >
> >RTDEBUG=3
> >
> >and looking at the form it sends over the wire.
> >
> >-kevin
> 
> Thanks for the reply Kevin, but I'm afraid I can't tackle it this way.
> 
> /opt/rt4/bin/rt help create is a path (?), but I don't have rt
> installed or access to the install machine, so I'm simply trying to
> figure this out using a plain url and its accompanying parameters.

Download the RT tarball, bin/rt is a small perl program with few
dependencies.

You will waste a lot less time if you install it and use it to look at
what you should be sending.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111014/af2b2c9e/attachment.sig>


More information about the rt-users mailing list