Skip to content

Allow linking CRM organizations to contacts

Lee Tickett requested to merge 2256-link-crm-organizations-to-contacts into master

What does this MR do and why?

At the moment we can only link organizations and contacts using the GraphQL API. This MR bring that functionality to the UI via the create and edit contact form.

Related to #2256

Screenshots or screen recordings

link-crm-contact-with-organization

How to set up and validate locally

https://docs.gitlab.com/ee/user/crm/

  1. Enable customer_relations feature flag and enable CRM for a group
  2. Ensure you have at least a couple of organizations
  3. Create a contact (with and without an organization attached)
  4. Edit a contact (try adding/removing/changing the attached organization)

MR acceptance checklist

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

Edited by Lee Tickett

Merge request reports