You are not logged in.
Hello,
I am currently Importing our old Tickets to GLPI via API and I have the Problem hat the Ticket and the Follow ups are written by me.
What Code do I have to add to change the writer of those Messages for example in here
´´´
def zammad_ticket_message_to_glpi_followup(ticket_message_body: str, base_ticket_id: int) -> typing.Dict:
return {
"itemtype": "Ticket",
'items_id': base_ticket_id,
'content': ticket_message_body,
'is_private': 0,
"requesttypes_id": 1,
"sourceitems_id": 0,
"sourceof_items_id": 0
}
´´´
Offline
You need to specify the "users_id" field and set it to the ID of the user you want to show as the writer.
For tickets, the field it "users_id_recipient".
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.
Offline