Skip to content

Fix child objective title link

Coung Ngo requested to merge cngo-fix-child-objective-link into master

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

  1. In rails console enable the flags

    Feature.enable(:okrs_mvc)
  2. Visit project issues page such as http://127.0.0.1:3000/flightjs/flight/-/issues/

  3. Create a new Objective under New issue split button

  4. Go to Objective detail page

  5. In the Child Objectives and Key Results widget, add a new objective/key result

  6. 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.

Edited by Coung Ngo

Merge request reports