Ticketcreate: Queueauswahl abhängig von TicketType

Hilfe zu Znuny Problemen aller Art
Locked
wonz
Znuny newbie
Posts: 60
Joined: 05 Aug 2009, 14:16
Znuny Version: 2.4.5

Ticketcreate: Queueauswahl abhängig von TicketType

Post by wonz »

Guten Morgen Forum,

gibt es einen Weg die Queue-auswahl beim Ticket anlegen ("CustomerTicketMessage.dtl") abhängig von der Auswahl des Ticket-Types zu machen?

Also Ticket Typ =
Auftrag -> Queue-Auswahl = 1,2,3
Anfrage -> Queue-Auswahl = 4,5,6
...

Gruß

Fabian
OS: Ubuntu 9.04; OTRS v.2.4.7; DB: MYSQL
maxbacks
Znuny wizard
Posts: 326
Joined: 30 Jan 2008, 14:59
Znuny Version: 6.0.19
Real Name: Max Hendrik Backs

Ticketcreate: Queueauswahl abhängig von TicketType

Post by maxbacks »

vielleicht mit einer acl?
Ticket-System
Ubuntu 18.04
OTRS 6.0.19
wonz
Znuny newbie
Posts: 60
Joined: 05 Aug 2009, 14:16
Znuny Version: 2.4.5

Ticketcreate: Queueauswahl abhängig von TicketType

Post by wonz »

maxbacks wrote:vielleicht mit einer acl?
okay, ähnliches habe ich schon mit Ticket-Typ und "Freetext" versucht.
Hat nicht funktioniert.

Hat Jemand einen Vorschlag wie das mit ACLs zu realisieren wäre?
OS: Ubuntu 9.04; OTRS v.2.4.7; DB: MYSQL
maxbacks
Znuny wizard
Posts: 326
Joined: 30 Jan 2008, 14:59
Znuny Version: 6.0.19
Real Name: Max Hendrik Backs

Ticketcreate: Queueauswahl abhängig von TicketType

Post by maxbacks »

Schau mal hier, vielleicht hilft uns das erstmal weiter...

http://www.otrs-forum.de/viewtopic.php?f=2&t=242
Ticket-System
Ubuntu 18.04
OTRS 6.0.19
wonz
Znuny newbie
Posts: 60
Joined: 05 Aug 2009, 14:16
Znuny Version: 2.4.5

Ticketcreate: Queueauswahl abhängig von TicketType

Post by wonz »

maxbacks wrote:Schau mal hier, vielleicht hilft uns das erstmal weiter...

http://www.otrs-forum.de/viewtopic.php?f=2&t=242
Soah... wär ja schön wenn die eingetragene Signatur einen Unterschied macht ;>

Vielen Dank für den Hinweis jedenfalls.
OS: Ubuntu 9.04; OTRS v.2.4.7; DB: MYSQL
wonz
Znuny newbie
Posts: 60
Joined: 05 Aug 2009, 14:16
Znuny Version: 2.4.5

Ticketcreate: Queueauswahl abhängig von TicketType

Post by wonz »

habe übrigens in der Mailing-list ein ähnliches, bzw eigentlich das gleiche Problem gefunden.
Auch ohne Lösung

http://www.mail-archive.com/otrs-de@otr ... 10864.html

Hier der Lösungsansatz der Person:
Config.pm
# ticket acl
$Self->{TicketAcl}->{'ACL-Name-Incident'} = {

# match properties
Properties => {

# current ticket match properties
Ticket => {
Type => ['Incident'],
}
},

# return possible options (white list)
Possible => {

# possible ticket options (white list)
Ticket => {
Queue => ['I_SD','I_Net'],
Type => ['Incident','Incident::Major'],
},
},
};

# ticket acl
$Self->{TicketAcl}->{'ACL-Name-Change'} = {

# match properties
Properties => {

# current ticket match properties
Ticket => {
Type => ['Change'],
}
},

# return possible options (white list)
Possible => {

# possible ticket options (white list)
Ticket => {
Queue => ['C_SD','C_Net'],
Type => ['Change'],
},
},
};
OS: Ubuntu 9.04; OTRS v.2.4.7; DB: MYSQL
maxbacks
Znuny wizard
Posts: 326
Joined: 30 Jan 2008, 14:59
Znuny Version: 6.0.19
Real Name: Max Hendrik Backs

Ticketcreate: Queueauswahl abhängig von TicketType

Post by maxbacks »

klar hilft die Signatur, sonst muss man immer nachfragen!
Ticket-System
Ubuntu 18.04
OTRS 6.0.19
wonz
Znuny newbie
Posts: 60
Joined: 05 Aug 2009, 14:16
Znuny Version: 2.4.5

Ticketcreate: Queueauswahl abhängig von TicketType

Post by wonz »

Hat denn jetzt jemand einen Lösungsansatz ?
OS: Ubuntu 9.04; OTRS v.2.4.7; DB: MYSQL
maxbacks
Znuny wizard
Posts: 326
Joined: 30 Jan 2008, 14:59
Znuny Version: 6.0.19
Real Name: Max Hendrik Backs

Ticketcreate: Queueauswahl abhängig von TicketType

Post by maxbacks »

ich habe eben versucht, eine ACL zu erstellen, diese greift aber nicht beim Tickettype...
Ticket-System
Ubuntu 18.04
OTRS 6.0.19
olliwest
Znuny newbie
Posts: 57
Joined: 28 Apr 2009, 11:35
Znuny Version: 2.4.5

Ticketcreate: Queueauswahl abhängig von TicketType

Post by olliwest »

hi,

ich probiere es auch seit längerem das über ACL's zu realisieren.
Ich habe das mal so gemacht.

Code: Select all


$Self->{TicketAcl}->{'ACL-Name-2'} = {
# match properties
        Properties => {
          Frontend => {
            Action => ['CustomerTicketMessage'],
          },
        },
# current ticket match properties
       Possible => {
          Ticket => {
            Type => ['Incident::ServiceRequest'],
            Queue => ['ServiceAnfrage-IDM'],
            Service => ['Windows User'],
            $Self->{'Ticket::Frontend::CustomerTicketMessage'}->{'TicketFreeText'} =  {
                     '1' => '1',
                      '2' => '1',
            }
          },
       },
};
Das funktioniert soweit, das Problem man kann nur eine Regel erstellen.

Wenn man als Action z.B. CustomerTicketMessage an gibt reagiert das Webinterface dynamisch.
Schön wäre es jetz wenn man mehrere Möglichkeiten definieren könnte, derzeit nur eine Möglich.

Code: Select all

# match properties
        Properties => {
          Frontend => {
            Action => ['CustomerTicketMessage'],
          },
        },
# current ticket match properties
       Possible1 => {.....} 
       Possible2 => {.....}
              .
       PossibleN => {.....}
Hat da jemand eine Idee?


Grüße
SLES 11 64 bit / Pord. OTRS 2.4.9
SLES 11 64 bit / Test. OTRS 3.0.4
Locked