a cli utility to import time accounting entries from Zammad ticketing into titra time tracking.
396
this command line utility connects to the PostgreSQL and MongoDB backends of Zammad and titra to exchange time accounting information between the two. Multiple connection checks are run before the actual data transfer starts to avoid network related errors. The interface will create users and customers used in synchronized tickets in titra. One titra project will be created for every synchronized Zammad ticket. Accounted time will be created as tasks inside these projects.
the interface can be run in a Docker container available on Docker hub under kromit/titra-zammad-interface.
docker run --rm -it kromit/titra-zammad-interface
to mount a custom settings.json file in the docker container:
docker run --rm -v /path/to/settings.json:/app/settings.json -it kromit/tira-zammad-interface
Alternatively the settings can be passed as environment variables which take precedence over the settings.json values:
docker run --rm -e removeNullEntries=false -it kromit/titra-zammad-interface
the interface can be configured by providing a settings.json configuration file or passing these options as environment variables
{
"titraMongoURL": "mongodb://user:password@host:27017",
"zammadPostgresURL": "postgres://user:password@host:5432",
"importTicketStateIDs": [1,2],
"removeNullEntries": true,
"createPublicTitraProjects": true
}
The following settings are available and expect the values described below:
Content type
Image
Digest
Size
40.8 MB
Last updated
over 5 years ago
docker pull kromit/titra-zammad-interface