Skip to content

Work items - stop relying on base_type

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

A follow-up from sync call (video, notes - though we didn't follow notes)

Currently some work item related logic relies on work item type's base_type. But we should rather rely on work item default types as base_type was not intended for this usage and can be eventually removed - default types are types which have nil namespace attribute.

List of places which should be updated:

TODO: add other places to fix

Reasoning

The intent is for work item types to be highly configurable, both by GitLab for implementing various work item schemes for customers (an opinionated GitLab workflow, or SAFE 5, etc), and eventually for customers to customize their own workflows.

In this case, a work item scheme would be defined as a set of types with certain characteristics (some widgets enabled, others not), such as an Epic, Story, Bug, and Task, etc.

As we're building a new work item architecture, we want to build the ability to define these various types in a very flexible manner. Having GitLab utilize this system first (without introducing customer customization) allows us to better build out the initial system.

Edited by 🤖 GitLab Bot 🤖