Skip to content

Fix relative links in Slack message

What does this MR do?

Issue #14244 (closed)

Our Slack notifications integration posts a message on Slack whenever there is a certain event on GitLab (comment on an issue, MR created...). However, links are currently included in their original Markdown form which leaves links as relative links. This MR updates relative links to absolute links so they are clickable from Slack.

Screenshots

Before

Screen_Shot_2020-01-09_at_15.35.18

After

Screen_Shot_2020-01-09_at_15.32.25

Original comment on GitLab

Screen_Shot_2020-01-09_at_15.32.52 Screen_Shot_2020-01-09_at_15.33.09

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports