[rt-users] Question about using a web form to create a request.
Jonathan C. Detert
detertj at msoe.edu
Wed Feb 7 08:21:25 EST 2001
Here's another idea:
- have your web-form use the rt-mailgate command with "extended-syntax"
and the "-t" flag (which causes rt-mailgate to print the integer
ticket number to STDOUT)
- capture the ticket number output by rt-mailgate and then invoke
rt-mailgate again with the desired %RT SET strings.
That should do it.
* Adam Clarke <Adam.Clarke at StrategicData.com.au> [010206 17:53]:
> Have you looked at the command line interface instead of e-mail.
>
> This would allow you to do what you want. I have only looked at this for a
> second but an expect script would handle the process easily. Alternatively
> you could play around with piping the responses to qt -create's prompts.
>
> Hint: run the following command
> rt -create
>
> Cheers
> Adam Clarke
>
> ----- Original Message -----
> From: "Hamilton, Kent" <KHamilton at Hunter.COM>
> To: <rt-users at lists.fsck.com>
> Sent: Wednesday, February 07, 2001 10:22 AM
> Subject: [rt-users] Question about using a web form to create a request.
>
>
> > I was building a web form which I had planned to use to simply
> > force people to enter specific information when they created a
> > request, since right now our "average" request consists of "My
> > PC is broke."
> >
> > I have the form built, do data validation on the info and am
> > all ready to generate an email to create the ticket, two of
> > the things I'd like to allow I don't know if I can do.
> >
> > 1) I want allow them to set a "Requested By" date and have
> > that be the initial due date.
> > 2) I want to set the initial priority based on selections
> > they make on the form.
> >
> > So my question is: Since the ticket isn't created yet, it
> > doesn't look like I can use "%RT SET prio xx" in the new ticket
> > itself, so how can I set these short of twiddling the database
> > myself which I was trying to avoid by generating an email. The
> > form is done using ColdFusion so I could do this if there isn't
> > any other way. But I'd have to do some serious work to make sure
> > I had the correct ticket to twiddle with....
> >
> > Suggestions?
> >
> > --
> > Kent Hamilton <KHamilton at Hunter.COM>
> > Manager Systems Admin & Networking
> > Hunter Engineering Company
> >
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
> >
>
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
--
Happy Landings,
Jon Detert
Unix System Administrator, Milwaukee School of Engineering
1025 N. Broadway, Milwaukee, Wisconsin 53202
More information about the rt-users
mailing list