You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2025-02-21 10:40:09

hoenens
Member
Registered: 2024-12-20
Posts: 16

Ticket information displayed

Hi,

I am setting up new tamplates. got some working, but on the response on a new ticket response i got some issues.

Response by who: : ##ticket.assignees## <- does not show me anything, should display (support person name) the one who answered the ticket
Date: ##ticket.date_mod## <- shows nothing, it should display the date of the response.
Message: cannot find the right code, should display the answer the support person gave.

Ca anyone help me out?

Offline

#2 2025-02-21 11:57:18

hoenens
Member
Registered: 2024-12-20
Posts: 16

Re: Ticket information displayed

Ok so, i have response by working with: ##ticket.lastupdater##
Date and message still a mystery

Offline

#3 2025-02-21 12:40:34

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,282
Website

Re: Ticket information displayed

https://glpi-user-documentation.readthe … lates.html

Click the "Show list of available tags" button in the template form to see available tags.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Online

#4 2025-02-21 13:15:13

hoenens
Member
Registered: 2024-12-20
Posts: 16

Re: Ticket information displayed

yes did that, but cannot find the right ## commands for the date of the response and for the message the ticket support person wrote.

Offline

#5 2025-02-22 12:08:47

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,282
Website

Re: Ticket information displayed

As seen in the list of available tags, you have "timelineitems" which is a list of all things in the timeline.

Then you have "followups" which are a list of just the followups and "tasks" which are just the tasks.

As explained in the user documentation and the tag list, you use FOREACH loop tags to iterate over then. You can add "LAST <n>" to the FOREACH tag to get the last N items only.
The tags lists shows all "sub-tags" for timelineitems, followups and tasks including "timelineitems.date" and "timelineitems.description".


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Online

Board footer

Powered by FluxBB