Hey, I just set a poor-man's integration between FogBugz and Zendesk that only requires one manual interaction. Here's how to do it:
First of all it's important to note the workflow at my company. One person in CS filters all tickets that are to be escalated, they then assign the ZD ticekts to me, the IT/dev manager, and I then delegate the tickets as FB cases.
- in ZenDesk change your profile's email to cases@mycompany.fogbugz.com
- Add a custom ticket field in ZD for a FogBugz case id
- Setup two Triggers in ZD, one called "Export ticket to FogBugz" and the other "Export ticket reply to FogBugz" as so:
- for "Export ticket to FogBugz" have it match:
- all tickets assigned to (you)
- NOT containing a tag of "fogbugz"
- then have it perform the actions:
- Email user (you) with the subject "{{ticket.title}}" and the body "{{ticket.latest_comment_formatted}}", I also put "{{ticket.url}}" in the email body, you'll see why later.
- Assign to the dedicated CS ticket manager (you could also do assignee here, but see my workflow above)
- Add tag: fogbugz
- for "Export ticket reply to FogBugz" have it match:
- all tickets assigned to (you)
- CONTAINING a tag of "fogbugz"
- then have it perform the actions:
- Email user (you) with the subject "Re: (Case {{ticket.ticket_field_113027}}) {{ticket.title}}", where "113027" is the fogbugz id custom ticket field id, and the body "{{ticket.latest_comment_formatted}}".
- Assign to the dedicated CS ticket manager (you could also do assignee here, but see my workflow above)
- in FogBugz turn off "Reply automatically" on your cases@ mail account (if you already use this and need the automatic reply, you may have to setup a new mail box because this will cause issues with ZenDesk automation on the flip side).
- Set the cases created from cases@ in FB to auto-assign to you.
- When a case gets created you'll get an email, you then need to then jump to the ZD ticket (if you added the URL in the automation above this should be in te FB case) and save the case id into the ZD custom field you created before.
That's it.
Issues:
- Step 6 is annoying, but less annoying than copy/pasting a bunch of fields.
- I haven't tested to see what happens if the subjects of the ZD of FB cases change.
- If someone assigns the ZD ticket to you before you fill the FogBugz id in on the ticket, it'll create a new ticket in FB instead of attaching to the original one.
Future:
I don't think it would be too hard to develop an application to do this exact workflow, eliminating Step 6, like Rob Sobers suggests. But this took 15 minutes to setup. Vs writing, deploying, and maintaining an application would take a few hours (at least).