Add new scopes to hierarchy widget

What does this MR do and why?

it allows to fetch hierarchy widget for work items from Duo Agentic chat, which allows us to ask about parent of the work item, or ancestors or children.

References

https://gitlab.com/gitlab-org/gitlab/-/issues/577468

Screenshots or screen recordings

Before After

How to set up and validate locally

required: DAP platform working locally

  • in AI gateway, switch to branch feat_mk-add-hierarchy-widget-to-wi-tools from MR
  • in monolith, switch to branch mk-prep-work-items-graphql-api-for-retrieving-hierarchy-widget-from-dap
  • ask in agentic chat question like what is the parent of: http://gdk.test:3000/gitlab-duo/test/-/work_items/144 - work item needs to have parent items
  • observe answer - it should list proper work items

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Gosia Ksionek

Merge request reports

Loading