Integration between Trello and Azure DevOps
Asked by miggarcia:

Hi

I'd like to integrate Trello with Azure DevOps.

The idea would be to use Trello as the area where the Business can raise ideas, gather requirements, write and task out stories, and prioritise them.

We would then plan out a sprint which would be moved to Azure DevOps through some sort of automation.

We would have a Live Board on Trello, this board would have some lists such as Sprint Backlog, In Progress and Done. These lists would mirror the status of stories in the sprint on Azure DevOps.

Therefore when a story changes status on Azure DevOps it is automatically moved to the corresponding list on the Live Board on Trello.

Has anyone attempted something similar?

One or two-way flow of information between Trello and Azure DevOps?

Thanks

Mig


Answers:
author: Iain Dooley
body: [@miggarcia](/t5/user/viewprofilepage/user-id/3078279) I've done this extensively with G-Suite using Google Apps Script:

<https://trello.com/integrations/#/trellinator/>

The principle would be the same, so although I can't give any specific advice the principle is sound. You set up a web hook and post back and forth using the Trello API.

It's reliable and good to work with.

The caveat I found was that Trello sends a LOT of notifications, so it would flood a Google Apps Script deployed as a web app and it would just start dropping requests randomly. As such, I put a little NodeJS web receiver that dumps the notifications into a beanstalkd queue and then drip feeds them out to the Apps Script URL:

<https://github.com/iaindooley/trellinator-buffer/>

The other thing is that an Apps Script URL won't respond to an HTTP HEAD request, it sends a 404 so Trello will never accept a native apps script URL as a webhook. To get around this I pipe it through an nginx setup that will respond 200 to a HEAD and pass everything else through (also in the above project).

I don't know if any of those same problems would arise in your journey to integrate with Azure but those are things to watch out for that presented challenges in the early days of building Trellinator.

You might also find that it's useful to do a port of Trellinator to whatever server side language you're using. The trellinator-libs API wraps Trello's API in a much more convenient/easy to use fashion that has a "butler-like" syntax:

<https://github.com/iaindooley/trellinator-libs>

The reason being that I specifically wrote it to port about 1600 Butler commands to following a year's worth of Butler consulting. Even though it's written for Apps Script it's still just basically javascript so if you wanted to, you could probably create the same thing to run in Node and it would speed up your interactions with the Trello API considerably. Alternatively you could just use the same class structure/methods as a template for creating your own API in whatever server side language you prefer.

comments: author: miggarcia
body: [@Iain Dooley](/t5/user/viewprofilepage/user-id/1416112) Thanks for taking the time to read and reply.

I'll go through your answer in more detail and possibly come back to you with more questions.


author: mayurkumarb88
body: Hi![@miggarcia](/t5/user/viewprofilepage/user-id/3078279)   
Have you done Integration between Trello and Azure DevOps?


author: Mark Opalski
body: Just searched the Trello integrations section. It didn't return any results for either AZURE or TRELLINATOR

I'm wondering if perhaps both integrations have been discontinued, or maybe they have been replaced with another solution not named here.


author: Brad Collins
body: Hey,

You can try reaching out to ZigiWave, since they're having an excellent integration portfolio, along with one of the best implementation specialist and support teams out there. Their website is <https://zigiwave.com/jira-software/> if you want to take a look and maybe ask them if their integration platform is covering this integration. Good luck!

Regards,  
Kamen


Tags: devops

integration