Integrate your TFS Code Pushes with Trello Using Service Hooks

Spread the love


If you have checked out my post on what tools and services I use, you may have noticed that I use both TFS and Both tools are very useful for tracking work, keeping ideas, managing code, and so much more.

akasoggybunz trello board
Akasoggybunz Trello board

I use Trello as a way to track ideas, brainstorm features I want to include, and a way to communicate with my beta testers. However, there was a little bit of a disconnect. I was pushing code, adding features, and fixing bugs without my beta testers not even knowing I had worked on the code. Or I would push code, and forget what card in Trello to update. So I had a thought, “What if I could have TFS update my Trello board everytime I pushed code.” Atleast if I did this, when I went back to Trello to update cards, I would  know which bug or feature I had pushed.

So like many thoughts or ideas I have, I began to do some research. It turns out there are multiple ways/things you can to do to Trello with TFS. This post will be a short tutorial on how to do one of many service hooks. Particularly how to create a card whenever someone pushes code to a project on TFS.

Integrate TFS to make Cards when Code Pushes are Done within Visual Studio to TFS

Overview of all Service Hooks for a particular TFS project

Authorize TFS for Trello

  1. Get Trello Auth Token for TFS
  2. Authorize TFS to use Trello. Press Allow.
  3. Make sure to copy the token. You will need this to authorize TFS.

Create a Service Hook to Interact with Trello

  1. Open up the TFS project that will be sending Hook requests.
  2. On the Menu of the TFS project click on the Settings Cog.
    1. Select Service Hooks.
Settings Gog select Service Hooks
  1. Press the Add new button (Plus Button).New hook
    1. A “New Service Hook Subscription” modal will pop up.
  2. On the Left side under Service Scroll down and select Trello.Service select trello
  3. Press Next.
    1. Trigger window will appear.
  4. Under “Trigger on this type of event”Trigger
    1. Check in code
  5. Make sure “Under Path” is the correct path.
  6. Press Next
    1. “Action” window will appear.
  7. Under “Perform this action”
    1. Select -> “Create a card”
  8. Under “SETTINGS”
    1. Input Trello Authentication Token in “User Token”
    2. Select “Board” that you wish to create new Cards on hooks.
    3. Select “List”
    4. Add any labels.
    5. Optional: Check “Create at top of list”. I did this as an easy ways to know which code pushes I did last. This is nice because they appear at the top of the list.Hook settings
  9. Under “ADVANCED”
    1. I left the defaults for this section. Go ahead and do whatever you wish for this.
  10. Press Finish

The new service hook will appear on a list for the service hooks for that project. You can disable, edit, delete, and view the history for that service hook.



From that list there are numerous hooks you can create using TFS on Trello.  How you configure them is unlimited, however splendidly useful. Experiment, and configure service hook configurations to you or your team’s needs regarding Trello and TFS. I use this service hook to notify my beta testers that have added a features to the code. I don’t do code pushes unless they are in production. This is a great way for my Beta testers to stay informed without them having direct access to my Team Foundation Server. This has proved invaluable in the user testing realm of my projects.

There are also many other configurations that can be created using arrive hooks from TFS you Trello. I would encourage you to explore the many options listed. I myself in due time will explore the options and see what useful service hooks I can use to automate my process. I think it’s awesome how services integrate like this.

I am interested in how you will utilize your TFS Service Hooks within Trello. Leave a comment below or tweet me @akasoggybunz, on your uses and configurations.



0 0 vote
Article Rating
Notify of
1 Comment
Newest Most Voted
Inline Feedbacks
View all comments
5 years ago

I am really impressed with your writing skills and ɑlso with the layout on ʏour weblog.
Is this a paid theme or diԀ you modify it
yourself? Anyway keep up the еxcellent quality writing, it’s rare to
see a great bⅼog like this one these days.

Hey I see you are using an Ad blocker. Ads really help to keep this website up and going. Please consider white-listing us. If not it's cool, I understand.