Skip to content

Add support for closing epics

Kushal Pandya requested to merge 7013-add-epics-close-support into master

What does this MR do?

This MR adds support for closing Epics by introducing a close button on UI of Epic page.

Epic Status Toggle

Epic_Status_Toggle

Backend

  • columns state, closed_by_id and closed_at were added to the Epic model
  • state machine was added to the Epic. It is the same as for Issue
  • for closing and reopening issues Epics::CloseService and Epics::ReopenService are used
  • it adds quick actions for closing/reopening epics
  • it adds API support for changing the state of epics

Does this MR meet the acceptance criteria?

CE MR: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21771

Closes #7013 (closed)

Closes #3678 (closed)

Closes #7340 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports