Add WorkItemsFinder
What does this MR do and why?
This is a subset of !88915 (merged). To be able to list work items, we also need a work items finder (similar to issues). Because updating of related tests made the MR too big and harder to review, this MR adds just WorkItems finder - although it's a horizontal slice of work I think it makes sense in this case.
Because WorkItem is internally an Issue (with added widgets), the idea in this MR is to just re-use existing IssuesFinder to find also WorkItems, the only difference is that we need to return instances of WorkItem instead of Issue (thus some additional changes in model's association names are needed).
Related to #363299 (closed)
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.