Pivotal Tracker Email Integration

If an effort to reduce our product cycle and reduce our bugs, we wanted closely link our customer service and server operations to our project management software. For example, if one of our account managers has an email dialogue with a customer, it would be really nice to just forward that email and have it automatically make a feature request ticket. Similarly, if something goes wrong on our production servers, it’s really convenient to just forward the notification email and have it automatically create a bug report.

http://github.com/mcommons/pivotal-tracker-email-integration

Usage

First you need an email address to forward things to. tracker@ your-domain.com will probably work well.
In the tracker’s home directory, create a .procmailrc file that simply pipes all incoming mail to the tracker.rb script.

Mine looks like this:


To create a story, just send an email to that address. The subject will become the story title and the body will be the
description.

“Plus addressing” is supported to define the story type. So sending an email to tracker+bug@ your-domain.com will create a Bug, while tracker+feature@ your-domain.com will create a Feature (default).

The script relies on Mobile Commons’s Ruby library for Pivotal Tracker to interact with Tracker’s API. It’s packaged in here for convenience.

You need to pass your tracker project number and an API key to the client library. You must define them at the top of
the tracker.rb procmail script.