Skip to content

Prevent issuable which don't support epics from being linked to epics

Peter Leitzen requested to merge pl-incidents-unlinkable-in-epics into master

What does this MR do?

This MR prevents issuables which don't support epics (e.g. incidents) being linked to epics.

Follow-up to !39547 (merged) and mentioned in #229973 (comment 399818528).

Contributes to #229973 (closed)

Screenshots

Before After
Screenshot_from_2020-08-26_13-08-56 Screenshot_from_2020-08-26_13-12-14

📓 I still see successful confirmation but the epic wasn't linked

📓 Another follow-up MR takes care of hiding the quick actions /epic and /remove_epic. See !40509 (merged)

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 Peter Leitzen

Merge request reports