Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create GitHub issue from Freshdesk

We are currently using Freshdesk for our customer support and GitHub for our code. On receiving a bug or an improvement feature request via Freshdesk, we would like to forward that ticket (with all the details + screenshots) to an email in GitHub so an issue is created automatically on GitHub. That would save us a manual entry.

Look forward to an advice on this or a better solution.

NOTE: Had come across https://zapier.com/zapbook/gmail/github/72/create-github-issue-email , but we would prefer a direct interaction without a third-party app in between.

like image 417
SJL Avatar asked Jul 31 '14 05:07

SJL


2 Answers

Creating an issue to GitHub wouldn't be done by "sending an email", but only by using the GitHub v3 issue API (like this script, for example, to migrate issues to GitHub)

That means in your case having a trigger on FreshDesk (or an "Observer" to call a webhook) which would parse the ticket and create the appropriate bug report on GitHub.

From the Observer/WebHook help page:

Webhooks also come handy when you want to trigger an action in an external application or tool (as well as some updates that the Observer can't perform, like update time entry on a ticket or add a note to a ticket)

You would manage that webhook locally on your side, and that callback would in turn call the right GitHub API commands to create the GitHub issue.

like image 184
VonC Avatar answered Nov 15 '22 03:11

VonC


We had similar needs and built a very simple tool to let anyone in the team send/forward emails to create GitHub issues. We were using it internally at first so that non engineering team members didn't have to go to GitHub to create issues. We just made it available to anyone (and free). It supports attachments.

You can find it at https://fire.fundersclub.com.

like image 24
alex Avatar answered Nov 15 '22 05:11

alex