Skip to content

Work Items list [BE] - Add Subscribe to Calendar [Group]

What does this MR do and why?

This MR adds support for groups > work items > calendar endpoint, to bring parity with the existing groups > issues > calendar API.

References

Screenshots or screen recordings

Not Provided

How to set up and validate locally

  1. With the GDK running, set up a group with multiple projects. In each project, add a combination of work items with and without a due date
  2. Using a tool such as postman, make a request to fetch the issues calendar of the group (e.g. GET http://localhost:3000/groups/flightjs/-/issues.ics)
  3. Using a tool such as postman, make a request to fetch the work items calendar of the group (e.g. GET http://localhost:3000/groups/flightjs/-/work_items.ics)
  4. Observe that both of the requests return issues / work items with due dates. Observe the following:
  • The issues and work items calendar should return the same set of items
  • The URL;VALUE=URI: should differ between the two, but both should be a valid URL to the work item / issue. You can verify this by following the link in your browser
  • The X-WR-CALNAME: will differ to use the work items phrasing

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 #560670 (closed)

Edited by Matt D'Angelo

Merge request reports

Loading