alphagov / smart-answers

Serves smart answers on GOV.UK
https://docs.publishing.service.gov.uk/apps/smart-answers.html
MIT License
175 stars 120 forks source link

`gds_zendesk` gem is deprecated #6848

Closed AgaDufrat closed 2 weeks ago

AgaDufrat commented 2 months ago

What

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

It’ll require adding Bearer token for Support API. It’s created in Signon and added in helm-charts, env var example. It can the be used in the app, example.

For local development you may need to update govuk-docker to add support-api as a dependency.

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 once the porting is complete.

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