Page MenuHomePhabricator

Explore Phabricator → Slack integration
Closed, ResolvedPublic

Description

I'm moving this from a thread on WMF Slack and collecting a few notes.

@DLynch wondered if anyone has set up a feed of new tickets from Phabricator to Slack.

There's some consensus that Slack admin changes would require review from ITS/Legal/Security.

@mmodell mentions https://github.com/etcinit/phabulous

@matmarex came up with a hack-around approach to this using Herald rules and Slack's ability to receive mail:

https://phabricator.wikimedia.org/p/Slack_connector_for_Editing_team_triage/

I wrote:

my plate is kind of full at the moment, but i can probably file a task for this and push on it periodically. it's something i haven't taken a lot of direct interest in out of a general distaste for slack and its silo-ization of so much of our important technical communication, but that ship has very clearly sailed at this point. at least displaying phabricator here might encourage people to document / interact with things in public more.

I'll try to follow up on this as I get more up to speed on Phab.

Somewhat related:

  • T288117 - Show previews for Phabricator links in Slack (and other messaging apps)

cc: @bcampbell for awareness on the Slack admin side of things.

Event Timeline

Hey @brennen we currently use the Slack "email a channel" for a couple different hacky purposes. I don't think implementing for your team would necessarily require a Legal/Security review. Who would be able to access the Slack channel email address on the Phabricator side of things?

Our Slack is currently configured to allow any user to create an email address for a Slack channel, but it is possible for us to restrict sending emails to channels by domain using an allowlist. Ideally, we would have it set up this way with an associated approval process, but that doesn't exist currently.

Going with the phabulous Slack bot solution would require an ITS/Legal/Security review (https://office.wikimedia.org/wiki/Slack#Slack_App_approval_process).

I don't think implementing for your team would necessarily require a Legal/Security review. Who would be able to access the Slack channel email address on the Phabricator side of things?

Yeah, I didn't expect so. So far as I know, email addresses are only visible to the user in Phabricator.

Going with the phabulous Slack bot solution would require an ITS/Legal/Security review (https://office.wikimedia.org/wiki/Slack#Slack_App_approval_process).

We'll probably pursue something like that at some point. Asking any team who wants this in a channel to manage a Phab user and Herald rules feels pretty clunky, even if it doesn't have any other downsides.

@Slack_connector_for_Editing_team_triage exists, thus Phabricator → Slack integration has been explored by at least by one WMF team. :)
Thus resolving. See that account description for more info.