New incident create flow follow up items

What does this MR do and why?

This MR focusses on New incident create flow follow up tasks from New incident create flow (!179959 - merged) to unblock GA of issue work items

  1. Filter work item types to Incident, issue and task on frontend since "Requirement" etc do not have any valid widgets available and not ready to go to GA (Task)
  2. Support "incidents" to in issues/new url (add type selection) (Task)
  3. When creating incident from full view, use visitUrl instead of router to load legacy view
  4. Open in new tab works as expected from modal expand button

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.

Before After
Filter work item types when creating new issue Screen Recording 2025-02-11 at 11.13.27.mov
Introduce work item types in /issues/new page Screen Recording 2025-02-11 at 11.18.00.mov
Open in new tab Screen Recording 2025-02-11 at 11.21.53.mov
use visitUrl when creating incident from Screen Recording 2025-02-11 at 11.22.38.mov

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Make sure you have work_items_view_preference on
  2. Go to issues list
  3. Make sure you can see "Issue/Incident/Task" in the type selector
  4. Same for full view /issues/new
  5. see that you can open link in new tab with the full view button
  6. See that when you create an incident from full view , router is not used , rather the visit url is used.

Related to #517430 (closed)

Edited by Deepika Guliani

Merge request reports

Loading