Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mandatory field on ticket solving #918

Open
2 tasks done
ulpanchik opened this issue Feb 4, 2025 · 1 comment
Open
2 tasks done

Mandatory field on ticket solving #918

ulpanchik opened this issue Feb 4, 2025 · 1 comment

Comments

@ulpanchik
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

GLPI Version

10.0.15

Plugin version

1.21.18

Bug description

I created additional field in tickets, added override by status in settings (to make it mandatory for ticket status Solved) but it doesn't work when I solve the ticket using "Add a solution" button

Relevant log output

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

@stonebuzz
Copy link
Contributor

Hi @ulpanchik

The form for adding a solution is not linked to the ticket form. As a result, the status constraint does not apply here. In fact, these two forms are distinct, each having its own container and its own constraints (because depending of differetns GLPI object (Ticket / ITILSOlution).

If the aim is to make this field mandatory when resolving a ticket via the ‘Add a solution’ button, we would need to add this field to the ‘ITIL Solution’ object and make it mandatory at this level. Unfortunately, as things stand, this is a technical constraint that cannot be easily circumvented.

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

No branches or pull requests

2 participants