Skip to content

Add TASK to IssueTypeEnum, check for work items FF

Mario Celi requested to merge 363599-add-task-issue-type-enum into master

What does this MR do and why?

Adds TASK to IssueTypeEnum. We need to validate that the work_items feature flag is enabled in the project policy as adding the value to the enum allows user to provide the new TASK value as user input. Issues base service checks that the user can create_task in https://gitlab.com/gitlab-org/gitlab/-/blob/e3ed2c1f65df2e137fc714485d7d42264a137968/app/services/issues/base_service.rb#L49

MR acceptance checklist

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

Related to #363599 (closed)

Edited by Mario Celi

Merge request reports