Learn how to integrate Helix ALM with Slack
November 28, 2017

Integrating Helix ALM and Slack

Application Lifecycle Management
Integration

We’ve been using Slack at Perforce for some time. Personally, it’s my preferred form of communication. It lets me control how much noise I hear and, best of all, there is no spam. At this point, I prefer to get all my need-to-know information (web stats, network alerts, buildbot notices, even to-dos) via Slack.

While Perforce products do not have a direct plugin on the Slack site, you can take advantage of both Slack’s and Perforce's email integration to get them talking to each other.

Scenario

For this example, let’s say I’m working on “Project InSight” and our team wants any new issue entered into Helix ALM to automatically show up in a private Slack channel we have for this project.

Set Up a Slack Email Integration

For instructions on how to set up email integration in Slack, refer to this help article: https://get.slack.help/hc/en-us/articles/206819278-Sending-emails-to-Slack.

In the following screenshot, you can see what my setup looks like. Any email to p8v3d7l4f1o4r0p6@perforce.slack.com will get pushed to the private project-insight channel.

Thumbnail

Set Up Helix ALM Email Notifications

First add a new user to your Helix ALM project, set that user to Local, and enter the email address Slack provided.

Thumbnail

Next, add the user to a security group that has access to all issues. In this example, I am adding them to the Business Analysts/Product Managers security group.

Thumbnail

Now you need to configure an email automation rule in Helix ALM. Go to Tools>Administration>Automation Rules. Create a rule that sends an email to the Slack user, using the "Issue Added" email template, each time an issue is added to Helix ALM.

Thumbnail

That's it! All new issues will now automatically appear in the Slack project-insight channel.

This is just one simple workflow, but the options are endless. One of Helix ALM's greatest strengths is all of its workflow options. With this email integration, you can easily post messages to Slack at almost any point in your workflow.