Use legacy issues URL for work items with type Issue
Summary
Note: This is part of &9290, where we are planning to migrate Epics to Work Items.
Once #415547 (closed) is addressed, Work Items Hierarchy Widget should include Issues too when present, the response structure should match with existing Work Items as then frontend of Hierarchy Widget should be able to show it with minimum changes (if any).
Updated description: Legacy issues are listed in the hierarchy widget as work items, we need to update their webUrl
to be able to visit the legacy issue view when clicking on them. See #415549 (comment 1560798684) for more context.
Edited by Eugenia Grieff