Work item title: Add check if title is over limit
What does this MR do and why?
Work item title: Add check if title is over limit and prevent submitting form. The following will get addressed:
We currently limit titles to 255 characters. In the legacy issue experience we capped the length at that limit. In the work item experience we allow unlimited entry then show an error. Neither fully communicates the state effectively.
- Show error when >255 chars used
- Submit will get prevented
Currently it's possible to submit and lose all information only to land on a page with an error shown about the 255 chars limit. Also it shows a success toast even though it fails. This MR addresses this as well (see also before/after screenshots).
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
![]() |
![]() |
How to set up and validate locally
- Go to issues list and click «Create new Issue» (e.g. https://gdk.test:3000/flightjs/Flight/-/work_items/new?related_item_id=gid%3A%2F%2Fgitlab%2FWorkItem%2F649)
- Go to issues list, click on a work item, click on kebab menu -> «New related item» (e.g. https://gdk.test:3000/flightjs/Flight/-/issues?show=eyJpaWQiOiI0MCIsImZ1bGxfcGF0aCI6ImZsaWdodGpzL0ZsaWdodCIsImlkIjo2NDl9)
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.
Related to #513105 (closed)
Closes #524715 (closed)



