Connecting Jira and Intercom

At Rigor we use JIRA to track our development tasks and Intercom to handle customer support. When a support case comes in that requires development work, we create an issue in JIRA. To connect the systems, we add a private note to any related Intercom support cases with a link to the issue in JIRA.

As we’ve grown, it’s gotten more difficult to keep these two systems in sync. To automate some of the manual effort, I built a Sinatra-based web service to connect JIRA and Intercom.

How it works

  1. Deploy the web service to your favorite platform (we use Heroku)

https://www.herokucdn.com/deploy/button.svg

  1. Add the web service as a webhook in JIRA and register the “issue created” and “issue updated” events

https://silvrback.s3.amazonaws.com/uploads/93f8ad1d-4e57-42b0-ba6c-39095558a776/WebHooks_-_JIRA_medium.jpg

  1. Include a link to an Intercom conversation in your JIRA issue descriptions

https://silvrback.s3.amazonaws.com/uploads/b96cfcc3-e6bb-4405-9894-43be1115b568/jira-intercom_medium.jpg

  1. A private note will be posted to the Intercom conversation with a link to the JIRA ticket created in step 2

https://silvrback.s3.amazonaws.com/uploads/17ccdf49-6071-437b-bd26-4f6979401687/intercom-jira-note_medium.jpg

For more on setup and configuration, see [the project’s README](https://github.com/kconarro14/jiraintercomwebhook/blob/master/README.md).

What’s next

Currently the web service handles the jira:issue_created and jira:issue_updated webhook events and looks for Intercom URLs in the issue description. Future enhancements might include:

I’ll post blog updates as any major features are added, but be sure to check out the project on Github for updates.