feedback icon indicating copy to clipboard operation
feedback copied to clipboard

`gds_zendesk` gem is deprecated

Open AgaDufrat opened this issue 7 months ago • 0 comments

What

Remove Zendesk-ticket creation and usage of gds_zendesk gem from the Feedback app. Use Support API to raise the tickets instead. The /support-tickets endpoint is exposed via GDA API Adapters's .raise_support_ticket.

Bearer token for Support API already exists: https://github.com/alphagov/govuk-helm-charts/blob/e16d6ae3dcfb86d8667cdb3a35d3df9809c1b252/charts/app-config/values-production.yaml#L986-L990

Note, GovukStatsd is deprecated and should be removed as it doesn't do anything.

You will also need to remove ZENDESK_CLIENT_USERNAME and ZENDESK_CLIENT_PASSWORD from app's environment variables in helm-charts.

Why

We want to consolidate onto one centralised way of raising support tickets. This will minimise the maintenance overhead if we ever switch away from Zendesk (rumoured to be happening in 2024).

Related

  • https://github.com/alphagov/support/pull/1435
  • https://github.com/alphagov/smart-answers/issues/6848

AgaDufrat avatar Jul 22 '24 15:07 AgaDufrat