[Feature] Notification target ticket
Checklist before requesting a review
Please delete options that are not relevant.
- [x] 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.
- [x] This change requires a documentation update.
Description
This PR adds support for injecting dynamic custom field values into GLPI's ticket notification templates.
- Depends on #941
@JeremieMercier, To automatically fix issues detected by php-cs-fixer, first install the dependencies using Composer (if not already done):
composer install
Then run the fixer:
vendor/bin/php-cs-fixer fix .
As for PHPStan, there is no automatic fixer. However, you can analyze the code locally and inspect the reported issues using:
vendor/bin/phpstan analyze
I have updated the PR with the latest changes from PR 941
Hi @JeremieMercier
The feature you are proposing is very interesting and introduces a significant feature. . To ensure its smooth integration and functionality, we must be extremely vigilant. This means we need to "lock down" our testing to guarantee that everything works as expected.
All types of fields must be tested from a tag on a notification to ensure the rendering of values from the plugin (as well as the label, which depends on the user's language, such as FR/EN, etc.).