Skip to content

Fix missing alert and deployment fields in integration API response

What does this MR do and why?

This MR has been split from !122943 (closed).

This MR fixes various bugs in the project integration API:

  • Fix missing alert_channel and alert_events field in project integration responses (#196575)
  • Fix missing deployment_events field in project integration responses (#28903, #196575)
  • Fix broken update for deployment_channel field in project integration API (#28903)
  • Fix broken update for deployment_events field in project integration API

Fixes #196575

How to set up and validate locally

  1. Enable slack integration on a project (can be done via the web UI).
  2. Try changing the any previously mentioned field on the /api/v4/projects/$PROJECT_ID/integrations/slack endpoint.
  3. Check that the fields are present on /api/v4/projects/$PROJECT_ID/integrations/slack endpoint responses.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports