Update RSS and Calendar Endpoints to accept type filter
What does this MR do and why?
This MR allows the work items controller to read the type
param and pass this to the finder when the user selects Subscribe to RSS
or Subscribe to Calendar
in the work items lists.
References
Screenshots or screen recordings
Not provided
How to set up and validate locally
The changes here should work with the consolidated list and existing group and project issues lists:
Group / Project Issues List
- In a new project under a group, create a task and an issue. Set the due date to today for both of these work items (needed for calendar)
- Apply the
type
filter in the search bar, and filter by a particular type (e.g.Type
is
Task
) - Refresh the page (this is needed due to an unrelated bug)
- From the
⋮
menu, selectSubscribe to RSS
- Observe that only the item of the filtered type is returned
- From the
⋮
menu, selectSubscribe to Calendar
- Observe in the downloaded
.ics
file that only the item of the filtered type is returned - Repeat the steps above at the group level. You can use the work items created in the step above, and the results should be the same
Consolidated List
TODO
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.
Related to #578148
Edited by Matt D'Angelo