A simple way to integrate GitHub Issues into Pivotal Tracker
NOTICE: I haven't used Tracker in over a year, so this project is dead. I'm not actively looking for a new maintainer, but if you want to take over, you're more than welcome.
- Clone the repo
git clone https://github.com/jrostand/pivothub.git
-
Get an OAuth key from GitHub. Instructions are available here
-
Set up your deployment environment. I use Heroku personally (because you get SSL for free), but it should work equally well with other providers. Note that using SSL is highly recommended as otherwise your credentials will be transmitted in the clear.
cp config.json.example config.json
You'll need to edit config.json
to suit your needs. Explanations of the flags are in the file.
- Deploy it!
This section will tell you how to set up Pivotal Tracker to pull in GitHub Issues as well as close Issues that are associated with Finished stories.
- Your application is deployed at
https://myghissues.herokuapp.com
- Your GitHub project is at
https://github.com/myaccount/repo
-
Select
Project
and thenConfigure Integrations
-
Scroll down to External Tool Integrations and select
Other
from the options in theCreate New Integration...
box -
Fill in the form with this information:
- Name: Whatever you'd like to call the Issues panel (e.g., GitHub Issues)
- Basic Auth Username: The value of
basicUsername
in the config - Basic Auth Password: The value of
basicPassword
in the config - Base URL:
https://github.com/
- Import API URL:
https://myghissues.herokuapp.com/issues/myaccount/repo
-
Click Create
If you would like PivotHub to close Issues that are associated with Finished stories, here's how to set that up:
-
In Pivotal, go to the
Configure Integrations
page for your project -
Fill in the Activity Web Hook fields as follows:
- Web Hook URL:
https://myghissues.herokuapp.com/issues/<secretToken>
- API Version:
v3
- Click Save Web Hook Settings
MIT license. See the license file.
- Original author: Julien Rostand
- Major contributor: Tom Lianza