Feature request: target the requester's **personal manager** (users_id_supervisor) in Notifications and Business Rules
#468
Smiley-k
started this conversation in
Ideas and feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Version
11.0.8
Feature request: target the requester's personal manager (
users_id_supervisor) in Notifications and Business RulesSummary
GLPI stores a "Manager" (Руководитель) on each User card (
glpi_users.users_id_supervisor), and this field is filled in and actively used. However, neither Notifications nor Business Rules can target that specific person:Requester group manager,Observer group manager,Manager of the group in charge(and their "except manager users" counterparts). There is no "Requester's manager" recipient (the personal supervisor of the requester user).add_validation(approval requests):responsible_id_validate— "Send an approval request - Supervisor of the requester"users_id_validate_requester_supervisor— "Send an approval request to requester group manager"users_id_validate_assign_supervisor— "Send an approval request to technician group manager"There is no Business Rule action to notify the requester's manager (e.g., on ticket creation), and no criterion to branch on the requester's supervisor.
Why a system-wide setting is NOT an acceptable workaround
The only way to get "managers involved" today is to enable manager-type recipients/actions globally (e.g., notify all group managers). We deliberately do not want to do this, because:
This is a real regression vs. the legacy engine where the supervisor field was at least present in the data model (search option
supervisor, field 60) and reachable viaapirest.php.Expected behavior
NotificationTargetCommonITILObjectthat resolvesusers_id_supervisorof the requester user (mirroring howSUPERVISOR_REQUESTER_GROUPresolves the group manager).send notification - Requester's manager) and/or a criterion based on the requester's supervisor, so a rule can target the personal manager without affecting all group managers system-wide.Steps to reproduce
Environment
/Rule/Collection/Ticket/CriteriaCriteria,/ActionField) — 45 criteria / 45 actions, no supervisor criterion, no notify-manager action.src/NotificationTargetCommonITILObject.php(11.0 branch).Related
users_id_supervisornot exposed in High-Level API User schema (API-side counterpart; PR #25230 addssupervisorto User schema for HL API v2.4).All reactions