Skip to content

Support for epics in events API

Max Woolf requested to merge 337310/fix-events-api into master

What does this MR do and why?

  • Adds the ability to query Epics in the /events and /users/:id/events REST API endpoints.
  • Prior to this, the EventsFinder had no EE-specific overrides to Epics were never included in the output.
  • Refactors Event::TARGET_TYPES to a class method so that it can be overridden in EE. 560f414d

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Relates to #337310

Edited by Max Woolf

Merge request reports