Fix new field bug and only copy title and description
What does this MR do and why?
We are only saving the title and the description in the draft data now since the widgets and extra fields are causing some issue
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Screen_Recording_2025-01-29_at_14.57.53
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Open
/issues/newlike http://localhost:3000/gitlab-org/gitlab-test/-/issues/new - Everything works
- Go to
ee/app/assets/javascripts/work_items/graphql/work_item_widgets.fragment.graphqland comment the linked items widget. - Refresh
/issues/new, everything still works - Again in
/issues/new, add a draft (I just added "Text" to the description) - Uncomment the widget
- Refresh. Widgets should be visible
Edited by Deepika Guliani