Skip to content

Link service desk issues to CRM contacts

Lee Tickett requested to merge 362733-auot-link-contact-from-service-desk into master

What does this MR do and why?

As per feedback #361946 (comment 956704652) and #362733 (closed) it would be desirable to automatically link a CRM contact to an issue when created via the servicedesk (assuming a contact with matching e-mail address is found).

Screenshots or screen recordings

image

image

image

???

How to set up and validate locally

  1. Follow instructions at https://docs.gitlab.com/ee/development/emails.html to enable incoming e-mail and service desk email
  2. Enable CRM for a top level group: https://docs.gitlab.com/ee/user/crm/
  3. Create a customer relations contact in your group using your own e-mail address
  4. Grab the service desk e-mail for a project in your group (e.g. from http://gdk.test:3000/flightjs/Flight/-/issues/service_desk something like gitlab-gdk+flightjs-flight-6-issue-@gmail.com
  5. Send an e-mail to the service desk
  6. Confirm the created issue has your CRM contact record attached

MR acceptance checklist

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

Related to #362733 (closed)

Edited by Lee Tickett

Merge request reports