<div dir="ltr"><div>The way I handle this is, a scrip finds the email address and message 
body using regular expressions.  It then sets the requestor to the given
 email address and makes an additional comment on the ticket with just 
the message body so it's easy to read and quote.  We also exclude these 
web form tickets from receiving an auto reply.<br><br></div>Dan<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 4, 2013 at 4:15 PM, Roy McMorran <span dir="ltr"><<a href="mailto:mcmorran@mdibl.org" target="_blank">mcmorran@mdibl.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
    <div>On 2/4/13 2:52 PM, Kevin Falcone wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>On Wed, Jan 30, 2013 at 11:31:05AM -0500, Roy McMorran wrote:
</pre>
      <blockquote type="cite">
        <pre>I'm receiving incoming tickets from a web form.  Certain required
form fields (e.g. operating system, asset tag, etc.) are being
extracted into custom fields, and that's working well.

I'd like to transform the ticket 'body' on creation (after the CFs
are extracted) so that it only contains the free-form text from the
'Description' field that was provided by the form.  Can anyone
suggest how I might approach that?
</pre>
      </blockquote>
      <pre>Do you want to transform the body for people who work the ticket to
have a cleaner view or to control the mail that is sent out on ticket
creation to the requestor?

</pre>
    </blockquote></div></div>
    Hi Kevin, thanks for the reply.  Well, ideally... both.  I don't
    think the requestor needs to see all the custom fields s/he just
    entered, but I think that could be done by just tweaking the
    autoreply template, yes?  But the main goal would be to transform
    the body that gets stuffed into the ticket; i.e. yes, the view that
    the people working the ticket will see.  <br>
    <br>
    E.g. Incoming email body:<br>
    
    -------<br>
    Name: Cuthbert Rumbold<br>
    Email: <a href="mailto:cr@example.org" target="_blank">cr@example.org</a><br>
    Phone number or extension: 125<br>
    Request Category: Network Connectivity/Internet Access<br>
    Summary of request or problem: Internet down<br>
    Detailed description of request or problem: No internet access on
    floor 2<br>
    Computer Platform: Mac - 10.6 (Snow Leopard)<br>
    Urgency: 2. Functionally impaired, need soon<br>
    Asset tag: OU812<br>
    -------<br>
    <br>
    Becomes:<br>
    -------<br>
    No internet access on floor 2<br>
    -------<br>
    <br>
    <small>(and a</small>ll the other lines are captured to CFs using
    Extract Custom Field Values scrip)<br>
    <br>
    Thank you,<br>
    Roy<div class="im"><br>
    <pre cols="72">-- 
Roy McMorran
Systems Administrator
MDI Biological Laboratory
<a href="mailto:mcmorran@mdibl.org" target="_blank">mcmorran@mdibl.org</a>

</pre>
  </div></div>

</blockquote></div><br></div></div>