Expose contacts_available field for work item CRM contacts widget
What does this MR do and why?
Expose contacts_available field for work item CRM contacts widget
This will allow us to determine whether to show the CRM contacts widget in the frontend
Related to #525875 (closed)
References
Screenshots or screen recordings
How to set up and validate locally
- Create a contact and a work item in a group
- Ensure the field returns true for the work item
- Create a work item in a group with no contacts
- Ensure the field returns false for the work item
{
projects {
nodes {
name
workItems {
nodes {
widgets {
... on WorkItemWidgetCrmContacts {
contactsAvailable
contacts {
nodes {
firstName
}
}
}
}
}
}
}
}
}
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Lee Tickett
