Fix use_legacy_view? for organization resource parent

What does this MR do and why?

Fix use_legacy_view? for organization resource parent

Organizations do not respond to root_ancestor, so the organizationWorkItemTypes query raised when resolving useIssueView for the Ticket type on the admin work item settings page.

Changelog: fixed

References

Screenshots or screen recordings

Before After
Screenshot_2026-10-19_at_5.25.27_pm Screenshot_2026-10-19_at_5.14.22_pm

How to set up and validate locally

  1. Go to admin work item settings page and confirm it works with no errors (e.g. http://127.0.0.1:3000/admin/application_settings/work_item

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.

Merge request reports

Loading
Loading