Overview: The goal of this tip is to give you step-by-step instructions on the different options available for integrating Zendesk and Pivotal Tracker.
Note: There are two ways to integrate with Pivotal Tracker. You can push tickets to Pivotal Tracker, using a target in Zendesk OR you can set up an integration to Zendesk from Pivotal Tracker. If you use a Zendesk Target you can automate what tickets end up in Pivotal Tracker. If you use the Pivotal Tracker integration, you can have comments on your Zendesk tickets when you make changes in Pivotal Tracker (these comments are private). We will start by showing the Zendesk Target first and then we will show you the Pivotal Tracker integration method second.
Creating Your Zendesk Target
Start by logging into Zendesk and going to Settings > Extensions (in the new Zendesk, select the Manage icon and then Extensions).
Click on Targets.
Fill in the title of your target.
For the token, click the link that says "your Pivotal Profile" and scroll to the bottom. Generate a new token. Copy that value and put it here (in the token textbox).
Get your project ID. This is at the end of the URL when you are looking at your project.
The story is just that, the title of the new story created in Pivotal Tracker
Pick a story type, this can be a Feature, Chore, Bug, Release
Pick a set of story labels, think of these as similar to Zendesk tags.
Requestor and owner are optional.
Once you test and save your target, you can create triggers that then push tickets to your Pivotal Tracker project. Note that targets are a one way type of pathway out of Zendesk. A story pushed to Pivotal Tracker via a target can not update the originating ticket. The story will, however, have a link back to the originating ticket so you can close it or update it manually.
Creating a Zendesk integration in Pivotal Tracker
Create a project in Pivotal Tracker, or, if you already have one, open that project.
Go to Project > Edit Project Settings.
Once you do you'll see a navigation bar along the top. Click on the button for "Integrations".
Scroll to the bottom of the new page and look for the section titled External Tool Integrations. You'll see a drop-down menu that says Create New Integration. Click it and scroll down to Zendesk.
Name your integration. The default name should be fine.
Provide the address for your Zendesk installation. Make sure you type in the URL including a trailing "/" at the end. For example, if my Zendesk was located at example.zendesk.com I would enter: https://example.zendesk.com/ in this field.
Now you will need to pick an account that Pivotal Tracker will use to connect to Zendesk. You can use a dedicated account or just pick somebody else's account. Enter their username (email address) and password.
When Pivotal Tracker talks to Zendesk it will pull a list a tickets from a view within your Zendesk. You can either create a new view, that only shows tickets with the tag "Pivotal" on it (for example) or just use a default view (like "All Unsolved Tickets").
In a new browser window, open the view. At the very end of the URL you will see a number. This is the view ID. Copy it over to Pivotal Tracker.
Click the Create button.
Head back to the main page of your Pivotal Tracker project.
Hover over the More menu and go to the link that says "Zendesk".
A new pane should now load, labeled Zendesk, and will contain all the tickets in the view that you had in your view.