Page MenuHomePhabricator

EmailAuth and ReportIncident both implement a Zendesk Client
Open, Needs TriagePublic

Description

And both are WMF deployed...

This is duplicated code implementing the same/very similar functionality for submitting a ticket to a /api/v2/requests.json endpoint.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I'm not sure that we'd gain much by sharing code for the Zendesk integration between these two extensions.

It would be nice to move the Zendesk code out of EmailAuth, it's conceptually kinda unrelated. But yeah, it's just a straightforward REST API call, sharing it as a library isn't really worth the maintenance burden.

I wonder if ContactPage could support Zendesk as a backend, with the other extensions just linking to a ContactPage form?