[rt-users] Question about using a web form to create a request.
Adam.Clarke at StrategicData.com.au
Tue Feb 6 18:51:29 EST 2001
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
----- 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....
> Kent Hamilton <KHamilton at Hunter.COM>
> Manager Systems Admin & Networking
> Hunter Engineering Company
> rt-users mailing list
> rt-users at lists.fsck.com
More information about the rt-users