Skip to content

Deleted tag notification shows hyperlinked tag name #601

@arush-vashishtha

Description

@arush-vashishtha

When a GitLab tag is deleted, the Mattermost GitLab plugin sends a notification. The deleted tag name appears as a hyperlink, but clicking it leads to a 404 in GitLab since the tag no longer exists. For deleted tag events, the tag name should not be hyperlinked only created tag events should link to the tag.

Sreps to Reproduce:-

  • Connect GitLab with Mattermost using the GitLab plugin.
  • Subscribe to a GitLab repository in a Mattermost channel.
  • In GitLab, delete an existing tag from the repository.
  • Observe the Mattermost notification.

Expected Behavior:
The deleted tag name should be displayed as plain text (not a hyperlink).

Actual Behavior:

  • The deleted tag name is shown as a hyperlink.
  • Clicking the link redirects to a 404 Not Found page in GitLab.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions