FogBugz Integration With Flock Using Zapier

FogBugz is an integrated web-based project management system featuring bug/issue tracking, discussion forums, wikis, customer relationship management, and evidence based scheduling. The feature tracker allows users to manage, filter, sort and navigate a tree-structure of tasks, that contain information, tags and attached files related to a particular issue.

We use Flock within our team, that has completely eliminated the need of email for us. We always track features and bugs through FogBugz. In this post, I will discuss that how can we get a message on a particular group whenever a bug is added in FogBugz in a particular project.

Things we need

  1. FogBugz account. While creating this account you have to choose your FogBugz URL i.e https://[your company].fogbugz.com which you can change later, name, workplace email address and password.

2. Flock account. You can easily create an account on Flock by signing up with your workplace email address.

3. Zapier account. You can easily create an account on Zapier by just filling name, any email address and password.

The process is short and easy. We’ll do it step by step.

Make a new zap on Zapier which is a two step process, first we will create a trigger by following below steps -

STEPS TO CREATE TRIGGER

Choose App - We will choose FogBugz from a whole lot of apps that Zapier is providing.

Choose Trigger - We will choose a particular trigger i.e New Case (For your server) in a whole lot of triggers that Zapier is providing.

CHOOSE ACCOUNT

Choose Account - We will connect the FogBugz account by providing API token and site name. You can get your API token by going into this link where you should fill proper values in square brackets “https://[your FogBugz URL]/api.asp?cmd=logon&email=[youremail]&password=[yourpassword]” and site name will be your FogBugz URL.

Setup Options - We can set up the FogBugz case by providing project name, area name, priority, category, milestone etc. In our case we will just provide project name as Pingpong iOS and category as Bug.

Test this setup - We can run and test that our trigger is working fine. For this make sure you have at least one recent case created.

Second we will create an action by following below steps -

STEPS TO CREATE ACTION

Choose App - We will choose Webhooks from Built In Apps category.

Choose Action - We have to select Webhooks by Zapier action, in this will choose POST which will fire off a single POST request as a form or JSON.

Set Up Template - We will set up Webhooks by providing URL(required), payload type(optional) and data(optional). We can get URL by Login to http://admin.flock.co and add new incoming webhook. URL will look like http://api.flock.co/hooks/sendMessage/<validation_token>. Set payload type as JSON and data will be the message that you want to send to the group on Flock which in our case is “New bug is reported <Case name> with priority <priority value> in milestone <Milestone name> and assigned to <person name>

Test this setup - We can run and test that our action is properly set up.

ZAP IS UP AND RUNNING

So in this way we have successfully created our first zap but don’t forget to do the last thing i.e to TURN ON this zap. While ON, this Zap will automatically check for your FogBugz New Case (For Your Server) every 5 minutes.

That’s it. Just follow the above simple steps to send notification for any bug created on FogBugz on Flock.