# Gitlab webhooks to notify users in Rocketchat

**URL:** <https://forums.rocket.chat/t/gitlab-webhooks-to-notify-users-in-rocketchat/2216>\
**Category:** Feature Requests (historic archive)\
**Created:** [October 8, 2018, 4:40pm UTC](https://forums.rocket.chat/t/gitlab-webhooks-to-notify-users-in-rocketchat/2216 "2018-10-08T16:40:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom.hampshire](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@tom.hampshire](https://forums.rocket.chat/u/tom.hampshire)\
**Post date:** [October 8, 2018, 4:40pm UTC](https://forums.rocket.chat/t/gitlab-webhooks-to-notify-users-in-rocketchat/2216/1 "2018-10-08T16:40:54Z")

</div>

I have just set up a webhook from our Gitlab in order to send notification on activity (git push, pull, merge requests, comments, etc). The integration script is here: [https://github.com/malko/rocketchat-gitlab-hook](https://github.com/malko/rocketchat-gitlab-hook)

Unfortunately, if you mention someone in Gitlab using @user, the user does not get notified in the Rocketchat channel. This would be a really amazing integration to have working for us (and I imagine anyone else using Gitlab).

My second (less important but still useful) is as follows: our Gitlab usernames are set up slightly differently to our Rocketchat ones, so therefore a notification to @user in Gitlab might not correspond to the @user in Rocketchat. We could go any reconfigure all of our usernames in Gitlab and Rocketchat, but this isn’t ideal. If Rocketchat could provide a user alias for users (effectively multiple usernames per user) this problem would be solved. Of course, the first feature I mentioned would have to be in place for any of this to be effective anyway!

---

<div class="post-metadata">

**Author:** ![localguru](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/localguru/32/12_2.png) [@localguru](https://forums.rocket.chat/u/localguru)\
**Post date:** [October 9, 2018, 11:44am UTC](https://forums.rocket.chat/t/gitlab-webhooks-to-notify-users-in-rocketchat/2216/2 "2018-10-09T11:44:35Z")

</div>

Is that what you mean by “if you mention someone in Gitlab using @user”?

![Bildschirmfoto_2018-10-09_13-41-09](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/1X/74bb9fe54223a44427cc413f2ec77d5a3fd464d2.png)

---

<div class="post-metadata">

**Author:** ![tom.hampshire](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@tom.hampshire](https://forums.rocket.chat/u/tom.hampshire)\
**Post date:** [October 10, 2018, 2:58pm UTC](https://forums.rocket.chat/t/gitlab-webhooks-to-notify-users-in-rocketchat/2216/3 "2018-10-10T14:58:15Z")

</div>

Yes, well sort of. Below is an example of mentioning someone in a gitlab issue, which doesn’t not mention the user on rocketchat  
 ![image](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/1X/35cd410bb6d6bacc7413ee3adae64e3ff3083810.png)
