Skip to content

Add services to support epic dependencies

Related to #202431 (closed).

Add new ListService, CreateService and DestroyService that inherit from IssuableLinks and replicate logic in IssueLinks::ListService, IssueLinks::CreateService and IssueLinks::DestroyService respectively.

Given that we already have services called EpicLinks, we need to use different naming matching the other resources for this feature. Proposed to use related_epics (see #351597 (comment 837691210))

The services must contain a license check for related_epics (GitLab Ultimate) that should've been added in #352439 (closed)

We should create system notes when creating and destroying these links. See SystemNoteService#relate_issue and SystemNoteService#unrelate_issue

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖