Skip to content

Improved search bar tokens for CRM contacts and organizations

What does this MR do and why?

This MR improves the CRM contacts and organizations tokens so that they display the contact or organization name instead of their ID.

Related to #350138 (closed) and #350137 (closed).

Screenshots or screen recordings

Organizations token Contacts token
image image

How to set up and validate locally

  1. Enable CRM feature on a root group
  2. On the issues page, use the Contacts token to filter issues by contact
  3. On the issues page, use the Organizations token to filter issues by organization
  4. From the Contacts page, use the issues button to go to the issues page (the token will show the contact's name instead of its ID)
  5. From the Organizations page, use the issues button to go to the issues page (the token will show the organization's name instead of its ID)

Additional note: if there are no Contacts and Organizations on the GDK's database, a re-seed would be sufficient as that data should already be seeded.

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 Marco Zille

Merge request reports