Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Pivotal Tracker integration in RubyMine 2.5 EAP

We’re big fans of the RubyMine Rails IDE, and are excited to see that JetBrains has added Pivotal Tracker integration in the latest EAP update.

The integration lets you easily pick a Tracker story from within RubyMine and create a task out of it. RubyMine tasks let you organize your work into different contexts. You can switch between tasks, and create source control changes based on them.

To use it, you’ll need a Tracker API token. Go to your My Profile page to get that.

Next, in RubyMine, go to Settings, and add a Pivotal Tracker task server (under Tasks/Servers). Use http://www.pivotaltracker.com for the URL, and enter your API token and Tracker project ID.

Note: This version of RubyMine sometimes hangs when trying to add a task server through the settings UI. As a workaround, you can edit the workspace.xml file, located in the .idea directory under your Rails root. Add the following under the element:

<servers>
  <PivotalTracker shared="false" url="http://www.pivotaltracker.com">
    <option name="APIKey" value="YOUR_API_TOKEN" />
    <password />
    <option name="projectId" value="YOUR_PROJECT_ID" />
    <option name="useHttpAuthentication" value="false" />
    <option name="useProxy" value="false" />
    <username />
  </PivotalTracker>
</servers>

Once the task server is configured, you can use the Switch to Task dropdown in the RubyMine tool bar to add a new task based on story in your Tracker project, or change between existing tasks.

You can optionally create a source control change based on the task, allowing you to preserve the story context all the way through to the commit.

If you’ve using Tracker’s post commit hook to automatically link commits to your stories, you can reformat the change description to match what Tracker expects (e.g. [completes #123456]) before you commit the change.

Comments
  1. Dennis Ushakov says:

    I’ve created an issue to automatically add “[completes #id]” to the change description
    http://youtrack.jetbrains.net/issue/IDEA-55592

  2. Dan Podsedly says:

    Dennis – thanks, looking forward to that.

  3. Jason Bucki says:

    Very cool! Just tried it out on the newest RubyMine RC and it worked like a charm. Thanks for sharing this.

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *