Skip to content

Conversation

@RomainLvr
Copy link
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

History button escalation now works correctly when "Assigned Group" field is mandatory in ticket template.

Problem

When escalating a ticket via the history button (climb_group()) with mandatory template fields (especially "Assigned Group"), the validation failed with error:

"Mandatory fields are not filled. Please correct: Technician group"

Root Cause

The climb_group() method only passed minimal data (_itil_assign) to Ticket->update(), which triggered template validation without the required fields.

Solution

Modified climb_group() to pass comprehensive ticket data including:

  • All existing ticket fields (name, content, category, urgency, etc.)
  • All existing actors (requesters, observers, and their groups)
  • Both _itil_assign and _groups_id_assign formats (required for rules execution and template validation)

Screenshots (if appropriate):

image

@RomainLvr RomainLvr self-assigned this Oct 2, 2025
@stonebuzz
Copy link
Contributor

waitting community approval

@stonebuzz
Copy link
Contributor

ping @Rom1-B

@stonebuzz stonebuzz merged commit 9b2eb2b into pluginsGLPI:10.0/bugfixes Nov 3, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants