- Replicate your Phabricator feed in a Rocket.chat channel
- Links for Differential, Diffusion, Phame and Maniphest objects
( You need to be an administrator in both Phabricator and Rocket.chat instances)
- Create a new Integration in Rocket.chat
- Goto
Administration
->Integrations
- Click on
New Integration
and chooseIncoming Webhook
- Fill in the details and click
Save Changes
- Copy
Webhook URL
from the integration details page (This will be of the form http://chat.example.com/hooks/abc/def)
- Goto
- Update the variables
PHABRICATOR_ROOT_URL
andLAST_BLOG_ID
in thebot.js
file - Open your newly created Rocket.chat integration and paste the contents of
bot.js
file into theScript
field - Update your Phabricator config
- Goto your phabricator directory (i.e
phabricator/
, make sure the directory has the fileLICENSE
and the folderwebroot
andbin
) - Execute
./bin/config set feed.http-hooks '["http://chat.example.com/hooks/abc/def"]'
(Use theWebhook URL
copied in the step 1.iv)
- Goto your phabricator directory (i.e
- Use Confluence API to show the exact link of the comment instead of the link of the parent object
- Remove the
LAST_BLOG_ID
variable and use Confluence API to fetch the blog link - Ping a Rocket.chat user (using @mention) when an issue is assigned to the user
- Fetch callsigns of all repositories to improve Diffusion regex