[rt-users] Problems with ExtractCustomFieldValues
Andy Harrison
aharrison at gmail.com
Sat Feb 19 11:36:49 EST 2005
On Fri, 18 Feb 2005 15:57:20 -0800, Atom Powers <APowers at pyramidbrew.com> wrote:
>
> I'm attempting to set the initial priority of a ticket using
> ExtractCustomFieldValues.
> New tickets are entered through a web form which includes this line (or
> something similar):
> --
> Priority: 11, Low - Minor Disruption/Inconv Due Date: 2/25/2005
> --
>
> I've installed ExtractCustomFieldValues and set up an OnCreate script with
> this form:
> --
> # Syntax:
> # cf-name | Headername or "Body" | MatchString(re) | Postcmd | Options
> #
> # Scan body for Priority and put it into priority
> Priority|Body|Priority:\s*(\d+),.*|
> --
Your scrip should be nothing more than:
Condition: On Create
Action: Extract Custom Field Values
Stage: TransationCreate
Template: YourCustomFieldExtractionTemplate
The part you've put in as a scrip needs to be the template.
--
Andy Harrison
More information about the rt-users
mailing list