Quantcast
Channel: Znuny Open Source Ticketsystem
Viewing all articles
Browse latest Browse all 320

Creating System Address and Queue via Command Line – Circular Dependency?

$
0
0
I'm trying to create a new system address and queue in Znuny using command line tools, but I’m running into a circular dependency issue.

When I try to add a system address, it requires a queue:

Code:

bin/otrs.Console.pl Admin::SystemAddress::Add --name testAddress --email-address test@example.comError: please provide option '--queue-name'.
Clearly, when I specify the name of a queue which does not yet exists, this is rejected:

Code:

bin/otrs.Console.pl Admin::SystemAddress::Add --name testAddress --email-address test@example.com --queue-name testQueueError: Queue testQueue does not exist.
On the other hand, when creating a queue, a system address is optional:

Code:

bin/otrs.Console.pl Admin::Queue::Add --name testQueue --group users
Once the queue is created, I can create the system address linked to the queue, but there seems to be no way to update the queue afterward to use the newly created system address with command line tools.

How can I properly link a new queue and a new system address when both seem to depend on each other? Is there a way to update the queue via command line, or is database modification the only option?

Thanks in advance!
Gregor

Statistics: Posted by gwarsow — 26 Feb 2025, 14:55 — Replies 0 — Views 1



Viewing all articles
Browse latest Browse all 320

Trending Articles