We are using RocketChat as an internal communication tool @[WIRDGroup] (https://github.com/wirdgroup) and we needed to integrate our project management tool EasyRedmine with it.
rocketchat_easyredmine_outgoing.js is a script which allows you to link the hastag of an easyredmine issue in the following chans:
all_direct_messages, all_public_channels, all_private_groups
-
Login as admin user and go to: Administration => Integrations => New Integration => Outgoing WebHook
-
Event Trigger: Message Sent
-
Enabled: True
-
Set all channel, icons, etc. as you need/preference
-
Trigger Words (optional): #
-
URL: http(s)://YOUR_URL_EASYREDMINE/issues/
-
Impersonate User: False
-
Paste contents of rocketchat_easyredmine_outgoing.js into the Script field.
!! DON'T FORGET TO FILL IN THE API KEY OF AN EASYREDMINE USER !!
let key = 'INSERTYOURAPIKEY';