Project labels page does not show a link for Epics per label

Summary

On the project's labels page for an Ultimate/Gold tier user, a link for Epics should appear per label next to the links for Issues and Merge requests.

Steps to reproduce

  1. Create a group.
  2. Create a project within the group.
  3. The group/project/user should fall under the Ultimate/Gold tier. (I'm sorry - I'm not fully clear on the specifics of how to set this up.)
  4. Create a group label.
  5. View the project's labels page.

Example Project

This can be seen on the GitLab CE project. https://gitlab.com/gitlab-org/gitlab-ce/labels

What is the current bug behavior?

The label appears on the page, but there is not a link to view the applicable Epics the label has been added to.

What is the expected correct behavior?

The label appears on the page, and includes a link to view the applicable Epics the label has been added to.

Relevant logs and/or screenshots

Screenshot_2018-12-27_22.02.12

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

n/a

Results of GitLab application Check

n/a

Possible fixes

On https://gitlab.com/gitlab-org/gitlab-ee/blob/master/app/views/shared/_label_row.html.haml#L3 It looks like - show_label_epics_link = defined?(@group) && @group&.feature_available?(:epics) Should be - show_label_epics_link = @group&.feature_available?(:epics)

Edited Jul 02, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading