Fix child objective title link
What does this MR do and why?
This MR fixes the work item child objective links.
In !133846 (merged), we updated the child items to get the url from the webUrl graphql field, but in that MR we only added the webUrl in the linked items widget response and forgot to add it to the child objectives widget response.
No changelog required since we are fixing a bug that we introduced in the same milestone
Screenshots or screen recordings
Before | After |
---|---|
Screen_Recording_2023-10-17_at_4.22.41_pm | Screen_Recording_2023-10-17_at_4.23.11_pm |
How to set up and validate locally
-
In rails console enable the flags
Feature.enable(:okrs_mvc)
-
Visit project issues page such as
http://127.0.0.1:3000/flightjs/flight/-/issues/
-
Create a new Objective under New issue split button
-
Go to Objective detail page
-
In the Child Objectives and Key Results widget, add a new objective/key result
-
Confirm the objective/key result has an href and can be opened
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.