Draft: Add HasCustomType concern for custom work item type associations
What does this MR do and why?
Adds a HasCustomType concern that extends the HasType pattern from !219133 (merged) to handle both system-defined and custom work item types.
Key behavior
For converted custom types (custom types with converted_from_system_defined_type_identifier), we continue using work_item_type_id to maintain associations with the original system-defined type.
For pure custom types, we use work_item_custom_type_id.
This ensures consistent behavior across the codebase when dealing with type associations.
Related issues
- #588244 (closed)
- Related to !219669 (closed)
Dependencies
This MR is based on !219133 (merged) (sx/integrate-system-defined-type-into-types-provider) and should be merged after it.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.