Support parent widget on tasks
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:
- 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:
- Login with any user
- Go to any Project > Issues > List
- Select any Issue and create a Task under it
- Click on the Task
- Check for the
Parent
field with a dropdown - Select an Issue from the dropdown
- Check if the item is selected
- Click on the dropdown and click
Unassign
button - It should set
None
for theParent
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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #421611 (closed)
Edited by Rajan Mistry