Skip to content

Support work item type change in /new url

What does this MR do and why?

Support work item type change

:Behind namespace_level_work_items

This MR supports creating different work item types with the supported widgets at this moment from the /new route

It uses the same component create_work_item in the route and makes sure the cache is set as expected

MR iterations status/MR link
support widgets in create work item form with apollo cache Resolve "Use apollo resolver for fetch/update n... (!151889 - merged)
support dropdown change different widgets for /new url You are here Not needed for GA but wanted this change since this changes how we create the cache for different work item types
support Labels/date widget in create work item for epics parity Started Draft: Support labels and date widget in create... (!156510) Based on MR
support Other widgets in create work item form To be started

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
Screen_Recording_2024-06-17_at_12.51.44_PM Screen_Recording_2024-06-17_at_12.38.53_PM

How to set up and validate locally

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

Example below:

  1. In rails console enable the FF
    Feature.enable(:namespace_level_work_items)
    Feature.enable(:work_items_alpha)
  2. Visit new work item url (both at group level / project level) http://127.0.0.1:3000/flightjs/Flight/-/work_items/new
  3. See that you are able to create new work items based on types

Regression checks already working on master/plan stage

  1. Check that you are able to create a new epic from the super sidebar and the work items list
  2. Check that you are able to create a new objective from issues list ( you should have okrs_mvc on )

Related to #461494

Edited by Deepika Guliani

Merge request reports