Skip to content

Allow creating new issue as work item from `/new` route

Natalia Tepluhina requested to merge ntepluhina-fix-new-issue into master

What does this MR do and why?

This MR enables /issues/new route to have a work item create form. This allows us to navigate to issue page via VueRouter as soon as new work item is created

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.

How to set up and validate locally

  1. In rails console enable the work item view preference feature flag
    Feature.enable(:work_items_view_preference)
  2. Visit any project issues list page such as http://127.0.0.1:3000/flightjs/Flight/-/issues
  3. In the top right corner, enable work item view with the switch
  4. Navigate to /new page: http://127.0.0.1:3000/flightjs/Flight/-/issues/new
  5. Create a new issue and make sure you are being redirected to issue page with VueRouter.
Edited by Natalia Tepluhina

Merge request reports

Loading