Skip to content

Support parent widget on tasks

Rajan Mistry requested to merge 421611-task-parent-widget into master

What does this MR do and why?

This MR is in conjunction with !133426 (merged) where parent widget is supported for Objective and Key results. This MR adds same support to add issues as a parent on any task.

Screenshots or screen recordings

Screen Recording 2023-10-20 at 8.04.22 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. Select any Issue and create a Task under it
  4. Click on the Task
  5. Check for the Parent field with a dropdown
  6. Select an Issue 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

Note: There is one known issue where the sidebar is shifting a bit. But the MR is already raised for it.

Fix work items sidebar glitch incase of parent ... (!134377 - merged)

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