Centralize logic to decide when to use Issues URLs or WorkItems URLs

What does this MR do and why?

Centralize logic to decide when to use Issues URLs or WorkItems URLs

To ensure we consistently show WorkItems/Issues urls, centralize the logic to decide when to use which on Issues#show_as_work_item?.

References

#582284

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

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 Kassio Borges

Merge request reports

Loading