Skip to content

Add parent widget to work items

Rajan Mistry requested to merge 421611-work-item-parent-widget-rmistry into master

What does this MR do and why?

This MR adds the parent widget to work items. Parent widget sets any Objective as a parent of Objective or Key results.

Note: Parent widget is not supported in Task currently as a Task can only be added under an issue.

Screenshots or screen recordings

Screen Recording 2023-10-11 at 11.17.14 PM.mov

How to set up and validate locally

Prerequisites:

  1. Enable the OKRs feature as mentioned in the OKRs docs (e.g. ::Feature.enabled?(:okrs_mvc, Project.find(<PROJECT_ID>)) and the namespace must have Ultimate plan).

Steps to verify:

  1. Login with any user
  2. Go to any Project > Issues > List
  3. Create an new Objective under New issue split button
  4. Go to Objective detail page
  5. Check for the Parent field with a dropdown
  6. Select an Objective from the dropdown
  7. Check if the item is selected
  8. Click on the dropdown and click Unassign button
  9. It should set None for the Parent field

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #421611 (closed)

Edited by Rajan Mistry

Merge request reports

Loading