[rt-users] help with incoming scrip

Jesse Vincent jesse at bestpractical.com
Sun Apr 13 15:31:20 EDT 2008

On Apr 13, 2008, at 2:52 PM, Chris Haumesser wrote:
> Hey everybody,
> I've been using RT for a number of years in various jobs, and it's a
> great tool.  I'm trying to deploy it now for a somewhat novel use case
> (managing law review submissions), and I need some help with scrip
> voodoo.  I'm not much of a perl guy, but I can kind of follow  
> along. ;)
> We get dozens of submissions per day via email sent from an electronic
> service.  The emails we get all come with headers from the service
> itself.  The bodies of the messages are consistently formatted, and
> contain lines with information about each article, e.g.
> Title: Undue Influence and the Rise of Greedy Lawyers
> Author: John Q. Blowhard, Esq.
> You may contact the author at: blowhard at ivyleague.edu
> I'd like to have a scrip that will use regular expressions to extract
> the above information, and update the ticket appropriately.  For
> example, I'd like the "Title" to become the subject of the ticket and
> the "Author" to become the requestor, with the email address set
> appropriately.
> Is this something that I can do with a scrip?  Can anyone point me to
> some resources on how to extract info from the body of a ticket using
> regular expressions, and use that data to update ticket fields?

  is likely what you want.


> Many thanks!
> -C-
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080413/6cda4687/attachment.sig>

More information about the rt-users mailing list